只要指定label的"for"属性到radio的id就行,或者用label标签包围住radio。
写法二:
参考:http://zhidao.baidu.com/link?url=9jR0ftJkmoENRc5JQfwPdEvU_aKwVFccr9HEz-5Lzo-ak7TeVMDApUeeRnVCocHfjWAFgJRXZCstmz8LClYHd_
请参见下面例子:
写法一:
<
input
type
=
"radio"
id
=
"radioA"
name
=
"radio1"
/><
label
for
=
"radioA"
>这是radioA</
label
>
<
input
type
=
"radio"
id
=
"radioB"
name
=
"radio1"
/><
label
for
=
"radioB"
>这是radioB</
label
>
写法二:
<
label
><
input
type
=
"radio"
name
=
"radio2"
>这是radioA</
label
>
<
label
><
input
type
=
"radio"
name
=
"radio2"
>这是radioB</
label
>
http://www.jquery001.com/jquery-get-radio-selected-text.html
http://bbs.csdn.net/topics/350153150