I have searched up and down and have yet to find something that will allow setInterval to work in any version of Internet Explorer.
Below is the code I am using right now...
<script type="text/javascript">
$(document).ready(function () {
$('#varRefresh').load('reload.php');
window.setInterval("refreshVar();", 5000); //**** every 5 seconds
});
function refreshVar() {
$('#varRefresh').load('reload.php');
}
</script>
<div id="varRefresh">
</div>
Can anyone point me in the right direction so I can get it to work in IE?