]> source.dussan.org Git - jquery.git/commit
Add .delegate() and .undelegate(). An alternative to using .live() which goes from...
authorjeresig <jeresig@gmail.com>
Mon, 1 Feb 2010 23:06:03 +0000 (18:06 -0500)
committerjeresig <jeresig@gmail.com>
Mon, 1 Feb 2010 23:06:03 +0000 (18:06 -0500)
commit31432e048f879b93ffa44c39d6f5989ab2620bd8
tree177f7ccd4396b32ef1d995d393bd9c8d606b8c68
parentcb65daa399630de0cdcd81af55ff76f6cd93da62
Add .delegate() and .undelegate(). An alternative to using .live() which goes from a single root and filters by the specified selectors. Should be used like do: .delegate(td, hover, someFn);. Fixes #6005.
src/event.js
test/unit/event.js