javascript - Load json data using ajax call -


i need load following json data file in javascript file using ajax

here json data

[ {     "mobile_no": "9633127725"  }, {     "mobile_no":"9605895175" }, {      "mobile_no": "8590823209" } ] 

in success function of $.ajax():

$.ajax({    //url    //type        success: function(data) {      var returndata = json.parse(data);    }  });

now use returndata array value json data data.


Comments