a标签实现不跳转点击

<a  class="tiao" href="./index.php"></a>

  JS实现无跳转a标签 

<script type="text/javascript">
$(".tiao").click(function (){
    return false;    
})
</script>
 
原文地址:https://www.cnblogs.com/wenhainan/p/6050473.html