We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9318cc commit 7c5e30cCopy full SHA for 7c5e30c
1 file changed
jquery-patterns/event-delegation.html
@@ -17,6 +17,10 @@
17
// preferred
18
$('#container').on('click', 'a.trigger', handlerFn);
19
20
+ // .bind()
21
+ // .live() - best used for simple scenario, it functions the best with a supply selector only, it's not chainable
22
+ // .delegate() - it gives you a more focused way, it can better filter the elements, for example, table row
23
+
24
25
// References
26
// http://paulirish.com/2009/perf/
0 commit comments