Allowing Regex is a non-trivial problem. These solutions, which target specific use-cases, are much more likely.
-- Yehuda On 1/4/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
wasn't there some chat about allowing a regex in the selection? or was it a plugin? I think it's a very good idea! On 1/4/07, Yehuda Katz <[EMAIL PROTECTED]> wrote: > 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/ > > > -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ _______________________________________________ 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/