Skip to main content

Bug Tracker

Side navigation

#751 closed enhancement (wontfix)

Opened January 05, 2007 04:13PM UTC

Closed March 24, 2007 03:27AM UTC

Last modified June 21, 2007 04:25AM UTC

selectors regex enhancement

Reported by: spinnach Owned by:
Priority: major Milestone:
Component: core Version:
Keywords: Cc:
Blocked by: Blocking:
Description

..it would be nice if jquery would support selecting elements in the following manner: select every input[@type=text OR password]', eg: $('input[@type=text|password] or $('a[@title=foo|bar]').. it would speed things up too, i think..

Attachments (0)
Change History (1)

Changed March 24, 2007 03:27AM UTC by john comment:1

resolution: → wontfix
status: newclosed

We're going to pass on this, for now. You can currently duplicate your intended result by doing:

  $("input").filter("[@type=text],[@type=password]")

That'll have to be good enough for now.

If you have any other suggestions, please feel free to bring them up on the dev mailing list, so that we can discuss them further, thanks.