[求救]如何屏蔽、恢复javascript中的事件处理函数?[求救]

这样好像不行:
at event1:
document.images[1].onClick="";

at event2:
document.images[1].onClick="f1()";
---------------------------------------------------------------

document.images[1].onClick=new Function("f1");

Published At
Categories with Web编程
Tagged with
comments powered by Disqus