I have a clock using Java and jQuery that loads the time value every second. It works perfectly in Firefox, but for some reason, it doesn't work at all in IE. It loads the time, but the time is always significantly lower and doesn't change. I would think it would have something to do with the value of time.php being cached or something along those lines, but I could be wrong. Is there anything I can do to fix it?
<script src="http://www.knightclash.com/values/query.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
var refreshId = setInterval(function()
{
$('#time').load('../values/time.php');
}, 1000);
});
</script>
<div align="center" id="time"><?=$gamedate?></div>