这是我的演示
http://jsfiddle.net/JingXiao/2k3eba6w/
<input type="radio" class="testRadio" value="All" data="helloworld"></input>
<br/>
<input type="checkbox" class="testRadio" value="All" data="helloworld"></input>
它适用于chrome和safari,但不适用于IE或ff。或者在IE / ff中实现的任何其他解决方案?
谢谢!