EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: sreekuttan on April 12, 2016, 02:05:28 AM



Title: Messager and dialog in mobile app
Post by: sreekuttan on April 12, 2016, 02:05:28 AM
Hi,
I am trying to show a "please wait" modal during ajax call.
Code:
$("#loginBtn").click(function(e) {

$("#dlg").html("Validating login information")
$("#dlg").dialog(
{
title: "Please wait...",
width: 200,
height: 100
});
$("#dlg").dialog("open");

But the dialog is not coming up correctly. It is going to one side like an overlay.

Also $.messager functions are not working (in fact nothing happens when they are called) in mobile browser.

I am testing with Lenovo S660 running on kitkat using a webview inside the mobile application

Pls help


Title: Re: Messager and dialog in mobile app
Post by: jarry on April 12, 2016, 03:46:05 AM
Please look at this example http://www.jeasyui.com/easyui/demo-mobile/dialog/message.html