元素绑定click点击事件方法 最简单的莫过于使用click方法: <input id="btn" type="button" value="BUTTON" onclick="alert(1)" > <s JavaScript 2022-04-08 122 点赞 1 评论 184 浏览