javascript - sending url in ajax jquery and getting response null -
i have client url , getting response url through browser. while sending through ajax getting null response. right working .net application. here given script. please guide me proper response , in advance.
response:
{ "resultflag": false, "message": "dealer not found", "info": [] }
$.ajax({ type: "get", //get or post or put or delete verb url: url, //data: data, datatype: "json", contenttype: "application/json; charset=utf-8", // content type sent server success: function (result) { // json.stringify(result); alert(json.stringify(result)); }, error: function () { alert('error'); } });
Comments
Post a Comment