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