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

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


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, 10: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