...

View Full Version : setInterval("this.pizza()", 1000);



Brett Bretterso
08-19-2005, 08:31 PM
I can't seem to find how to get this to work right.


this.pizza();
this.interval=setInterval("this.pizza()",1000);

It runs this.pizza() the first time when this portion of script is triggerered, but then it won't run it again. In my FF javascript console it says "this.pizza is not a function".

Is there a way to get it to recognize it?

Brett Bretterson

Brett Bretterso
08-19-2005, 09:11 PM
never mind. I figured it out. I had to change it so pizza() took an object as a parameter and wasn't a function of an object.

Brett Bretterson



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum