Bug Tracker

Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#751 closed enhancement (wontfix)

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..

Change History (1)

comment:1 Changed 13 years ago by john

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.

Note: See TracTickets for help on using tickets.