I have been messing with this code for quite some time, works in FF, Chrome, Safari but IE for some reason will only load one time. I have tried using the time function as well as the math.random function in the querystring to make the URL unique. I used firebug to make sure that my math.random function was working correctly and it seems to be but for some reason IE will only load the page once. I am about to pull my hair out and abandon the whole idea, please help!!
法典如下:
$.ajaxSetup ({
// Disable caching of AJAX responses
cache: false
});
var myHandle = setInterval(function () {
$.ajax({
type: "POST",
url: randomize2.php?ck= + Math.random(),
cache: false,
success: function (data) {
// data is ur summary
$( #dispeople ).html(data);
}
})
}, 2000);
var mybutton2 = document.getElementById("mybutton2");
建议 我检查了IEE开发商的工具,发现该守则在以下代码栏中进一步细分:
$(function() {
setInterval(function() {
$( .all ).quicksand( $( .warm li ), {
duration: 1000,
attribute: id ,
easing: easeInOutQuad
});
e.preventDefault();
}
}, 5000);
});