File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 19
19
<h3 name =" javascriptBase " >Javascript based</h3 >
20
20
1.<a href =" https://github.com/wchaowu/javascript-code/tree/master/javascript-based/reference " >对象JavaScript 引用</a > <br />
21
21
2.JavaScript this <br />
22
- 3.JavaScript 闭包<br />
22
+ 3 .
23
+ <a href =" https://github.com/wchaowu/javascript-code/blob/master/javascript-based/event.html " >
24
+ JavaScript 闭包
25
+ </a >
26
+ <br />
23
27
4.JavaScript 事件</a > <br />
24
28
5.<a href =" https://github.com/wchaowu/javascript-code/tree/master/javascript-based/crossDomain.html " >javascript 跨域</a > <br />
25
29
Original file line number Diff line number Diff line change
1
+ 如果你有10个按钮在同一个div下面
2
+ 请直接在这个div上面监听事件,而不要监听每个button按钮
1
3
2
4
< a href ="http://www.cnblogs.com/rubylouvre/archive/2009/08/09/1542174.html "> 事件的代理</ a >
3
5
< pre >
You can’t perform that action at this time.
0 commit comments