asp.net - jquery Ajax call resulting in Undefined Error in Firefox 18.0.1 -
$("#btnlogin").click(function () {
if (order != "undefined") $.ajax( { type: "post", data: "{'neworder': '" + order + "'}", url: "imgpost.aspx/update", datatype: "json", contenttype: "application/json", processdata: true, beforesend: function (xhr, data) { console.log(data); alert(data); }, success: function (msg) { }, error: function (xmlhttprequest, textstatus, errorthrown) { alert("error occured!" + " | " + xmlhttprequest + " | " + textstatus + " | " + errorthrown); } }); });
here ajax phone call failed , not redirecting url : "imgpost.aspx/update".
xmlhttprequest , textstatus shows undefined , error respectively.
it occours in latest update of mozilla 18.0.1
can help me this.
remove quotes around object.
data: {neworder: order},
jquery asp.net ajax vb.net
No comments:
Post a Comment