'this' refers to the actual DOM element, and you can get things just like
normal JS (this.innerHTML, etc). Using '$(this)' wraps jQuery back around
it, so you can use functions like slideUp and the like.. A lot of the time
you wont need jquery to accomplish something.
On 12/12/06, SRobertJames <[EMAIL PROTECTED]> wrote:
Why do I need to wrap the this with $(this) - (when using $('#...').each)
-
why isnt' that done automatically?
--
View this message in context:
http://www.nabble.com/this-verus-%28this%29-tf2810909.html#a7843947
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/