Hey,
I have two auto refresh scripts that run every 1 second, but they keep cancelling each other out… on their own they both work, but when together the first function won’t work and the second one does.
This is what i have:
[CODE]<script language=”javascript”>
var auto_refresh = setInterval(
function ()
{$(‘#chat’).load(‘../css/includes/poker/chatlog.php?Table=<?=$TableID?>’).fadeIn(“fast”);}, 1000);
</script>
<script language=”javascript”>
var auto_refresh = setInterval(
function ()
{$(‘#chat’).load(‘../css/includes/poker/push.php?Table=<?=$TableID?>’).fadeIn(“fast”);}, 1000);
</script>
At the moment the second JS works… but when swapped over chatlog.php would work because its the second one in the order of the script, like it overwrites the first… what can i do to solve this?