Opened 13 years ago
Closed 12 years ago
#6292 closed bug (worksforme)
:not is ignored if comma is after it
Reported by: | blackwolf | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.3 |
Component: | selector | Version: | 1.4.2 |
Keywords: | :not | Cc: | |
Blocked by: | Blocking: |
Description
When comma is after closing bracket of :not (multiple selectors), :not selector is ignored.
$('input:not(input)').hide(); - works (no imput is hidden) $('textarea,input:not(input)').hide(); - works (all textareas and no input is hidden) $('input:not(input),textarea').hide(); - not works (all texareas and inputs are hidden, :not is ignored)
It works in jQuery 1.3.2, but not in 1.4.2.
Change History (1)
comment:1 Changed 12 years ago by
Priority: | → undecided |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I've tested your original ticket using 1.4.2 here (http://jsfiddle.net/addyosmani/qeUmh/) and it seems to be working just as well as the other selector variations that you provided.
If you would like to submit another ticket with additional information on the problem experienced, please feel free to.