1.js或jQuery实现
2.lable标签实现:label 的for属性后面跟着input的id,点击label,触发input效果
<form>
<label for="male">Male</label>
<input id="male" type="radio" name="sex" value="0" />
<br/>
<label for="female">Female</label>
<input id="female" type="radio" name="sex" value="1" />
</form>