Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
get radio button checked value from javascript
Li Jenny
Ranch Hand
Posts: 57
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
Posts: 15385
6
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Brave asking a .NET question on a
Java
forum.
var sel = document.getElementById("<%= radio1.ClientID %>"); var val = sel.options[sel.selectedIndex].value;
Eric
Bear Bibeault
Sheriff
Posts: 67753
173
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Please do not post server-side markup in this forum. Thanks.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Farmers know to never drive a tractor near a honey locust tree. But a tiny ad is okay:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Need help with Jquery
javascript and jsps
JAVASCRIPT functions and not .JAVA
setting a radio button
Opening a webpage in same window using javascript without anchor tag
More...