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

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -