1 $.getJSON("/Home/GetData?r=" + Math.random(), { ids: ids }, function(data) { 2 //處理邏輯 3 });
緣由:getJson在IE8下默認會使用瀏覽器緩存 解決:讓其不要使用緩存 javascript