3
如何检测收音机/复选框按钮是的时刻使用javascript检查?使用javascript检查/选择收音机/复选框按钮“oncheck”事件
例:
document.getElementById("myRadioButton").checked = true
是否有检测 “myRadioButton” 的状态变化和atach处理程序的方法?
我需要它专门用于Internet Explorer 6+。
如何检测收音机/复选框按钮是的时刻使用javascript检查?使用javascript检查/选择收音机/复选框按钮“oncheck”事件
例:
document.getElementById("myRadioButton").checked = true
是否有检测 “myRadioButton” 的状态变化和atach处理程序的方法?
我需要它专门用于Internet Explorer 6+。
最后,我发现了一个解决方案,即触发然后收音机/复选框按钮与JavaScript检查(而不是只)被称为onpropertychange在ie和DOMAttrModified在Firefox事件
是有什么,其上跨浏览器。 – vishal 2014-05-17 05:17:29