更新时间:2022-03-11 23:15:19
1
2
3
4
5
6
7
8
9
10
|
function () {
return false ;
} // IS EQUAL TO function (e) {
e.preventDefault();
e.stopPropagation();
} |
参考:
1.The difference between ‘return false;’ and ‘e.preventDefault();’
本文转自Justin博客园博客,原文链接:http://www.cnblogs.com/justinw/archive/2010/07/10/1774828.html,如需转载请自行联系原作者