Skip to main content

Bug Tracker

Side navigation

#8378 closed bug (invalid)

Opened February 24, 2011 11:40PM UTC

Closed February 25, 2011 12:01AM UTC

Last modified February 25, 2011 09:36AM UTC

.not().live()

Reported by: dpustovarov@gmail.com Owned by:
Priority: low Milestone: 1.next
Component: event Version: 1.5
Keywords: Cc:
Blocked by: Blocking:
Description

$('form').not('.confirm').live('submit', ...

does not work. Event is not catched.

$('form:not(.confirm)').live('submit', ...

ok

It seems they both should have the same behavior.

Attachments (0)
Change History (2)

Changed February 25, 2011 12:01AM UTC by ajpiano comment:1

resolution: → invalid
status: newclosed

Thanks for your time and interest in helping with jQuery, but this is expected behaviour.

From the docs

"DOM traversal methods are not supported for finding elements to send to .live(). Rather, the .live() method should always be called directly after a selector."

Changed February 25, 2011 09:36AM UTC by jitter comment:2

component: unfiledevent
priority: undecidedlow