John Resig wrote:
I don't know what you're doing, but it works great for me: http://dev.jquery.com/~john/test/each.htmlI'm using value so that it's easy to see the results.
And another version modeled on John's that uses the indices for both the inner and outer loops is at
http://scott.sauyet.com/Javascript/Demo/2007-08-03a/ (My thoughts about closures seem to have been red herrings.) -- Scott