firefox中button按钮怎么响应onclick事件
如题 --------------------编程问答-------------------- function test(){
alert('aa');
return false;
}
document.getElementById('Button1').onclick=test; --------------------编程问答-------------------- 1楼的哥们,在firefox下还是不行
--------------------编程问答-------------------- 应该好用的啊,
document.getElementById('Button1').onclick=test;这句话要放在body的onload脚本里写。 --------------------编程问答-------------------- 还有就是firefox下如果页面中其他脚本有错误可能会影响其他脚本。 --------------------编程问答-------------------- 哦那我估计懂 了。
window.event在ie 和 ff中的不同。
补充:.NET技术 , C#