> How does jQuery(':input', this) differ from > jQuery('input,textarea,select,button', this) ?
Great question, Aaron, The ":input" selector will grab all elements and then filter them using a regex match of the nodeName against "input|select|textarea|button". On the other hand, the "input,textarea,select,button" selector will grab only those elements (using getElementsByTagName I believe) and it will grab them *in that order*. So the first expression guarantees us semantic ordering of the selected elements but is slower due to the regex matching. Mike _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/