Check whether specific radio button is checked

后端 未结 7 1085
忘掉有多难
忘掉有多难 2020-12-14 01:10

I\'m having trouble after looking at the jQuery docs. I\'m just trying to return true/false in one my my jquery methods depending on the check of a certain radiobutton and

7条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-14 01:13

    $("input[@name='<%=test2.ClientID%>']:checked");
    

    use this and here ClientID fetch random id created by .net.

提交回复
热议问题