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'; }); Personally, I prefer using 'this'. I understand that it's more confusing to learn initially, but once you get it I think it makes a lot of sense. Mike