:-)  Mike, I just reread your email and see that you pointed this out
already!   Sorry!

Mike

On 7/25/07, Mike Alsup <[EMAIL PROTECTED]> wrote:
> It would have been far better if "each" passed the DOM element as
> an argument to the inner function, instead of using "this":

It does pass the element, so if you prefer you could write code like:

$('.stuff').each(function(index, element) {
    element.style.visibility = 'hidden';
});

Reply via email to