asp.net - Failed to execute 'send' on 'XMLHttpRequest' -
i have following code in json :
function getcrbycrno(crno) { var params = { "crno": crno }; $.ajax({ type: "post", data: json.stringify(params), contenttype: "application/json; charset=utf-8", url: appcojs.getbaseurl() + '/hcis/license-services/se.tcc.clu.services.licenserequest.licenserequest.svc/getcrbycrno', datatype: "json", async: false, complete: getcrbycrnocompleted });
when try execute code asp.net had error:
"networkerror: failed execute 'send' on 'xmlhttprequest': failed load '
please advice me ...
regards.
try setting async:false async:true.
i'm not sure why works, guess because html5 newer xml.
Comments
Post a Comment