相关疑难解决方法(0)

如何在无线电组中获取所选无线电的文本

如标题中所述,例如:

<input id="User_Type_0" type="radio" name="User_Type" value="1" checked="checked" />
<label for="User_Type_0">User1</label>
<input id="User_Type_1" type="radio" name="User_Type" value="2" />
<label for="User_Type_1">User2</label>
Run Code Online (Sandbox Code Playgroud)

我怎样才能得到文字:用户1

jquery text radio-button checked

6
推荐指数
2
解决办法
2万
查看次数

标签 统计

checked ×1

jquery ×1

radio-button ×1

text ×1