radio切换,点击方法onclick

<label><input name="Status1" type="radio" value="first" checked="checked" onclick="firstfactorChange()" />篮球</label>

<label><input name="Status1" type="radio" value="factor" onclick="firstfactorChange()" />游泳</label> 

onclick="firstfactorChange()"   方法记得加()

posted @ 2017-07-18 12:39  芜明-追星  阅读(1373)  评论(0编辑  收藏  举报