• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

get radio button checked value from javascript

 
Li Jenny
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if i have create radiobutton in aspx file
how can i get the checked value of this radiobutton in javascript

<asp:radiobuttonlist id="radio1" RepeatDirection="horizontal" runat="server">

<asp:listitem runat="server" value="AA" Text="Text" Selected />

<asp:listitem runat="server" value="Filter" Text="BB" />



</asp:radiobuttonlist>
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Brave asking a .NET question on a Java forum.



Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not post server-side markup in this forum. Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic