jQuery 获取 radio 选中后的文字
如果html为 <input type="radio" id="test" name="test" value="1" /><span>测试1</span>
则js为:$("input[name='
test
']:checked").next("span").text()
如果html为
<input type="radio" id="
test
" name="
test
" value="1" /> <label for="
test
">测试1</label>
<input type="radio" id="test1" name="test" value="2" /> <label for="test1">测试2</label>
则js为:$("input[name='test']:checked").next("label").text()