html源码:
<a href=“#” id=“gotoPage”>链接<a>
js源码:
$(“#gotoPage”).attr("disabled",true); //设置成灰色不可点击
$("#gotoPage").css("pointer-events","none"); //设置鼠标事件不可用
html源码:
<a href=“#” id=“gotoPage”>链接<a>
js源码:
$(“#gotoPage”).attr("disabled",true); //设置成灰色不可点击
$("#gotoPage").css("pointer-events","none"); //设置鼠标事件不可用