js之阻止默认事件

1.html中组织a标签的默认事件

<a href="javascript:void(0)"></a>

  

原文地址:https://www.cnblogs.com/shannen/p/12485986.html