Are there any advantages/disadvantages of
<a href="javascript:;" onclick="myFunc()">do myFunc</a>
over
<a href="javascript:" onclick="myFunc()">do myFunc</a>
Are there any advantages/disadvantages of
<a href="javascript:;" onclick="myFunc()">do myFunc</a>
over
<a href="javascript:" onclick="myFunc()">do myFunc</a>
<a href="javascript:;" onclick="myFunc()">do myFunc</a>-
Will kill script execution
<a href="javascript:" onclick="myFunc()">do myFunc</a>
Execute Script
例如:http: //jsfiddle.net/JZje5/