This is a very interesting request. I second the motion.
On 1/4/07, spinnach <[EMAIL PROTECTED]> wrote:
..that's basically the same as $('[EMAIL PROTECTED],[EMAIL PROTECTED]'), but the docs say using :text is faster.. but it would be nice to have the ability to select elements in such manner ( eg. $('[EMAIL PROTECTED]|bar]') or $('[EMAIL PROTECTED]|bar]') ) i had a need for such things a few times.. Mike Alsup wrote: >> do jquery selectors support something like 'select every [EMAIL PROTECTED] >> OR password]', eg: $('[EMAIL PROTECTED]|password]) ? .. i know i can select >> them like $('[EMAIL PROTECTED],[EMAIL PROTECTED]'), but the other method >> could be faster, if supported, i think :).. > > I think you can do $(':text,:password'); > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
-- Yehuda Katz Web Developer | Wycats Designs (ph) 718.877.1325
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/