Bug Tracker


Ticket #6624 (closed enhancement: invalid)

Opened 4 years ago

Last modified 3 years ago

add filter selector partial

Reported by: wmdbm Owned by:
Priority: undecided Milestone:
Component: selector Version: 1.4.2
Keywords: new filter Cc: wmdbm@…
Blocking: Blocked by:


(traduction) I propose a simple but very useful evolution. Add two syntaxes of filter on attribute. Thank you for announcing me your decision and the date of implementation.

(original) je propose une évolution simple mais très utile. ajouter deux syntaxes de filtre sur attribut. merci de me faire part de votre décision et de la date de mise en place.

~= => keyword (existing)

~ˆ= => keyword begin (new)

~$= => keyword end(new)

exemple using code

<input type="text" name="a" class="blue fmttext typeok" />

<input type="text" name="b" class="blue fmtnum typebad" />

<input type="text" name="c" class="blue fmtdate styleok" />

<input type="text" name="d" class="blue stylebad" />

$("input:[class~&circ;=fmt]").val("news Format!");


exemple jQuery code

type === "~=" ?

(" " + value + " ").indexOf(" " + check + " ") >= 0 :

type === "~&circ;=" ?

(" " + value + " ").indexOf(" " + check) >= 0 :

type === "~$=" ?

(" " + value + " ").indexOf(check + " ") >= 0 :

Change History

comment:1 Changed 3 years ago by snover

  • Milestone 1.4.3 deleted

Resetting milestone to future.

comment:2 Changed 3 years ago by dmethvin

  • Priority set to undecided
  • Status changed from new to closed
  • Resolution set to invalid

We're not accepting new additions to the selector syntax and trying to stay with the standard W3C CSS syntax.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.