1

Not getting the data in chrome in firefox works fine. Need to work offline and online also. That should fetch data form json but not woking in chrome.

$.ajax({
      async: false,
      type: "GET",
      url: "filename.json",
      dataType: "text",
      contentType: "application/json",
      success: function (data) {
         console.log(data);

      }
    }); 
  }

0 Answers0