News for hackers. Stuff that matters.
Re:JavaScript Interview Question by watmough on Thursday January 20, 2011 @12:41PM (#2124442)
This is my thought also, but I'm unsure of how to lock in the correct integer value to the alert, such that clicking each li element pops up the correct number.

I'm guessing one would have to create an object with a scope that holds the right value, on each turn through the loop.

There are no comments on this comment yet.