Setinterval Firing At The Same Time
On the function on this code, whatareyousingingpatrick(),, whenever the function is called a new element and setinterval should be called, however it doesn't seem like a new one is
Solution 1:
i didn't read all of your code. But this fixes at least a portion of your problem:
setInterval("dis"+original+"();alert("+original+");", original+500);
Should be:
setInterval(function(){
var func = 'dis' + original;
func();
alert(original); //for some reason
}, original+500);
Post a Comment for "Setinterval Firing At The Same Time"