3 Topics

Member Avatar for
Member Avatar for ckjaseem

Hi all , I have a set-interval function inside a for loop and when inside the set-interval function if it meets a criteria give an alert and clear the interval. Below is my code but its not working can anyone tell what the mistake here. var timeCheck = 0; function …

Member Avatar for LastMitch
0
485
Member Avatar for ptemedia

Hi, I have made an image gallery which all in all is working fine. However, there is the option of to play through the images using setInterval to change the image every 8 seconds. After all images have been preloaded, this works fine. In its current set up however, the …

0
122
Member Avatar for stevo356

Hi, I have a problem with setInterval (jquery). It works great, but I wan't the element to stop refreshing when a textarea is selected (so that users can insert text). Here is the refresh code I'm using currently. [CODE] $(document).ready(function() { $("#container").load("php/functions.php?page=wall"); refreshId = setInterval(function() { $("#container").load("php/functions.php?page=wall&r="+Math.random()); }, 1000); }); …

Member Avatar for Airshow
0
363

The End.