javascript - Ajax error value return null -
i have function in ajax :
$.ajax({ type: "post", url: "@url.action("filtralevatamento", "consulta")", data: json.stringify(jsn), contenttype: "application/json", datatype: "json", async: true, success: function (data) { result(data); $("#modalboxprocessa").modal("hide"); }, error: function (xmlhttprequest, txtstatus, errorthrown) { $("#modalboxprocessa").modal("hide"); $("#modalboxerro2").modal("show"); } });
in local machine works when publish in server error in ajax .
can tell me problem ? have pretty same ajax returning me other data, , running fine .
Comments
Post a Comment