应该有不少的新童鞋会碰到这个问题,getjson在ie下不工作。。。。。
$.getjson();
问题出在哪里呢?
原因:ie浏览器会读取第一缓存,只要阻止即可。
var nocache = date();
$.getjson(url,{nocache:nocache},callback)
还有一种解决办法就是用$.ajax()代替
$.ajax({type:get,url:url,datatype:json,cache:false,callback});
来源:http://bbs.php100.com/read-htm-tid-481956.html