I\'m reading a JSON file with jQuery. If I update the file that .get() reads it still gets the old values when I read the newer file. Since I write and read the
.get()
use $.ajaxSetup settings
$.ajaxSetup({ cache:false });
after that you can use your code like
function readEye() { $.getJSON('output.json', function(data){ console.log(data); }); }