Cancel a default action and prevent it from bubbling up by returning false.
1
2
3
|
|
Cancel only the default action by using the preventDefault method.
1
2
3
|
|
Bind custom events with .live().
1
2
3
4
5
6
7
8
9
10
11
12
|
|
Use an object to bind multiple live event handlers. Note that .live() calls the click, mouseover, and mouseout event handlers for all paragraphs--even new ones.
1
2
3
4
5
6
7
8
9
10
11
|
|