Side navigation
#5425 closed enhancement (invalid)
Opened October 30, 2009 12:31AM UTC
Closed November 11, 2009 07:00PM UTC
why does live() need to run a selection during intit?
Reported by: | Leeoniya | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | event | Version: | 1.3.2 |
Keywords: | live performance | Cc: | leeoniya@gmail.com |
Blocked by: | Blocking: |
Description
outlined here:
http://www.zachleat.com/web/2009/05/08/performance-caveat-with-jquery-selectors-and-live-events/
maybe consider enhancement for 1.4?
Attachments (0)
Change History (1)
Changed November 11, 2009 07:00PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
jQuery can't have fore-knowledge of what will happen against the jQuery set - if so then that would be quite impressive.
Instead we recommend that you use event delegation instead, like the following: