#10970 (The .on() selector parameter doesn't work with :not(:first) selector) - jQuery (original) (raw)
#10970 closed bug (fixed)
Opened December 07, 2011 09:36AM UTC
Closed December 12, 2011 04:24PM UTC
Last modified December 12, 2011 04:25PM UTC
| Reported by: | ben.katz@gmail.com | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.7.2 |
| Component: | event | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
I'm using the .on() selector in this manner:
$(document).on("click", "#users_table tr", function (event) {
and it works.
If I add the :not(:first) (which works in any other selector usage), the event is not triggered on all rows (instead of not triggering only on the first row)
$(document).on("click", "#users_table tr:not(:first)", function (event) {
Attachments (0) Change History (7)