Dan G. Switzer, II schrieb:
> Rob,
> 
>> I thought a jQuery object consisted of extended DOM objects - i.e. all DOM
>> methods and properties are available, plus the jQuery extensions.
> 
> To get to the actual DOM element, you'd use:
> 
> alert( $(this).get(0).selectedIndex );
> 
> -- or --
> 
> alert( $(this)[0].selectedIndex );


Just to remember:

$(this)[0] == this

Wrapping a jQuery around the element to immediatly get it out there is a 
little over the top most of the time ;-)


-- Klaus



_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to