ITPub博客

首页 > > > 请问如何用jquery获取下面的html中被选中的单选按钮的值?

请问如何用jquery获取下面的html中被选中的单选按钮的值?

作者:jenliang 时间:2019-08-29 09:51:16 0 删除 编辑
<input type="radio" id="site_categroy_18156" name="site_categroy_id" value="18156"  />
<label for="site_categroy_18156">.NET新手区</label>

<input type="radio" id="site_categroy_108699" name="site_categroy_id" value="108699"  />
<label for="site_categroy_108699">ASP.NET</label>

<input type="radio" id="site_categroy_108700" name="site_categroy_id" value="108700"  />
<label for="site_categroy_108700">C#</label>

<input type="radio" id="site_categroy_108716" name="site_categroy_id" value="108716"  />
<label for="site_categroy_108716">WinForm</label>


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/4565/viewspace-3124693/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-07-15

  • 博文量
    189
  • 访问量
    858