wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes get radio button checked value from javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "get radio button checked value from javascript" Watch "get radio button checked value from javascript" New topic
Author

get radio button checked value from javascript

Li Jenny
Ranch Hand

Joined: Apr 19, 2010
Posts: 57
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
Brave asking a .NET question on a Java forum.



Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

Please do not post server-side markup in this forum. Thanks.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: get radio button checked value from javascript
 
Similar Threads
Opening a webpage in same window using javascript without anchor tag
javascript and jsps
Need help with Jquery
JAVASCRIPT functions and not .JAVA
setting a radio button