I'm making an AJAX call (JSP page in Savvion Business Manager) and I want to show the LOADING SPINNER while AJAX request is processed
It's working fine in Firefox, but in Internet Explorer the UI freezes until the response is received in callback success function. I'm guessing that Internet Explorer is not making Asynchronous Call. I'm receiving response in Callback success function but the loading spinner freezes when Ajax call is made.
Here is the code
function CallbackMyFunction(data)
{
hideLoadingSpinner();
// Some Code Here
...
}
.
.
.
function AjaxFunction()
{
showLoadingSpinner();
SetupAjax.myFunction(jQuery("#Var1").val(), jQuery("#Var2").val(), CallbackMyFunction);
// Some Code Here
...
}
DWR is being used for SetupAjax.myFunction()
SetupAjax.myFunction() returns a "AJAXResponseDTO" object which implements "java.io.Serializable"