My ajax call is resulting in error. Here is the info that I could get in error callback:
readyState: 0
responseText: ""
status: 0
statusText: "error"
What does that mean? What am I doing wrong?
Here is my ajax call:
var ajaxurl = '../mainDir/server.cfc?param1=123¶m2=234&method=updateMyInfo';
$.ajax({
url: ajaxurl,
dataType:"text",
success: function( data ) {
alert('success');
},
error: function( xhr, ajaxOptions, thrownError ) {
alert('ERROR');
}
});