方法一: <a href="####"></a> 方法二: <a href="javascript:void(0)"></a> 方法三: <a href="javascript:void(null)"></a> 方法四: <a href="#" onclick="return false"></a> 方法五: $('.stop').click(function(event){ event.preventDefault(); //取消默认的行为 event.stopPropagation(); //阻止时间冒泡 }) |
|