综合上述,在a中调用js函数最适当的方法推荐使用:a href="javascript:void(0);" onclick="js_method()"a href="javascript:;" onclick="js_method()"a href="#" onclick="js_method();return false;"