Sign In/My Account | View Cart  
advertisement

Subject: $(this).get(0)
Date: 2007-10-19 17:06:07
From: aristotle
Response to: $(this).get(0)

Ah. Well, if this is a jQuery object, then this.get(0) should work as well.


The docs explicitly say about each (http://docs.jquery.com/Core/each) that “every time the passed-in function is executed (which is once for every element matched) the this keyword points to the specific DOM element” though, and it has in practice behaved that way for me. Very odd that you get different behaviour. *headscratch*


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Sponsored By: