Bug Tracker

Opened 7 years ago

Closed 7 years ago

#4941 closed bug (duplicate)

Using the not() filter negates the live() method

Reported by: webbower Owned by: brandon
Priority: major Milestone: 1.4
Component: event Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description

$('#list .entry').not('.doc_entry').live('click', function(e) { ... }

This should apply the live click event handler to all elements with class="entry" inside id="list" that are not also class="doc_entry" however, the not() filter makes the live event binding fail.

Maybe I'm just writing the not() filter wrong, but removing it allowed the live event binding to work.

Change History (1)

comment:1 Changed 7 years ago by dmethvin

  • Resolution set to duplicate
  • Status changed from new to closed

Dup of #4939

Note: See TracTickets for help on using tickets.