5,006
社区成员
发帖
与我相关
我的任务
分享
<html>
<head><title>Firefox contentEditable="true" 无法选中checkbox!!!!!</title></head>
<body contentEditable="true" onload="document.designmode='on'">
<input type="checkbox" name="test">无法选中???</input>
</body>
</html>
<script>
document.body.onmousedown = function (e) {
var o = e.target;
alert(o)//点击到checkbox都没想要mousedown事件
}
</script>