Error: jQuery171044046986018069634_1344411426301 was not called - while doing ajax call
Hi,
I am using the following ajax call to perform login,
$( "#loginform" ).validVal();
$( "#loginform" ).submit(function( event ) {
event.preventDefault();
var form_data = $( "#loginform" ).triggerHandler( "submitForm" );
if ( form_data ) {
$.ajax({
type: "POST",
url: serviceURL+'login.php?',
data: form_data,
dataType: 'jsonp',
async: false,
success: function( data ) {
var doc = eval(data) ;
window.localStorage.setItem("docname", doc[0].dispname);
sessionStorage.setItem("sesuserid",doc[0].recno);
window.location.href="index.html?login=true" ;
},
error : function(jqXHR, textStatus, errorThrown){
alert('status='+jqXHR.status) ;
alert('error='+errorThrown) ;
},
complete : function(jqXHR, textStatus){
$.mobile.hidePageLoadingMsg() ;
}
});
}
});
But i am getting the following errors,
status=200 and
Error: jQuery171044046986018069634_1344411426301 was not called
Before it was working good and i was using it with localhost and the actual site. suddenly the problem arised.
How this can be solved.
Please help me.