1.html
<div id="a">
<input type="button" value="按钮"></input>
<br/>
<a href="www.baidu.com">连接</a>
</div>
2.js
<script>
$(function(){
$("#a").css("pointer-events","none");
})
</script>
1.html
<div id="a">
<input type="button" value="按钮"></input>
<br/>
<a href="www.baidu.com">连接</a>
</div>
2.js
<script>
$(function(){
$("#a").css("pointer-events","none");
})
</script>