http://jsfiddle.net/Gch83/为什么这个单行JS在Firefox中不起作用?
<input id="myRadioButton1" name="radiobutton" value="radiobutton" type="radio">1
<input id="myRadioButton2" name="radiobutton" value="radiobutton" type="radio">2
<input value="1 checked" onMouseOver="document.all.myRadioButton1.checked = true;" type="button">
<input value="2 checked" onMouseOver="document.all.myRadioButton2.checked = true;" type="button">
悬停在按钮改变单选按钮在Chrome,而不是Firefox浏览器。
这是为什么?