js 让另一个方法失效

来源:互联网 发布:windows pe如何分区 编辑:程序博客网 时间:2024/05/01 17:24
<input type="button" onclick="alert(按下');" value="点击按纽" id="btn" /><script type="text/javascript">//取消事件代码document.getElementById("btn").onclick = function(){};</script>
0 0