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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -