如
document.getElementById("world").attachEvent("onclick", function() { alert("hello"); });
那如果要取消这个事件绑定要怎么取消?
document.getElementById("world").attachEvent("onclick", function() { alert("hello"); });
那如果要取消这个事件绑定要怎么取消?
解决方案 »
- 求助:chrome浏览器中,如何用JS弹出“目标另存为”窗口(非IE)
- 关于电子商务网站中购买金额的问题
- 帮忙分析这段代码,点击弹出的
- move an image within a DIV --- 拖动(drag)image向下移动?
- 谁知道一本学习javascript css ajax ...书的名字
- 刺手问题,高手请进
- 正则表达式去掉html标记
- 请问 href="javascript:playAudio('2001/08/10/EPSL_2001-08-10_13.wav')" 是什么意思?
- 谁知道vbscript中整数转换成浮点数是什么机制?
- 各位大哥请速救小妹
- 请教javascript怎样取得控件的坐标?
- extjs tree图标
document.getElementById("world").attachEvent("onclick", test);
document.getElementById("world").detachEvent("onclick", test);