Home
Articles
Interview Questions
Code Lab
My Profile
Home
>
Code
>
View Code
My Bookmarks
My Code
Submit Code
|
Categories
Top 50
<< Back to Searchresult..
Find selected Radio button value from group in Jquery
jQuery
Find which one of these radio buttons (or from you can say from radio button group) is the currently selected one. First get all of the radio buttons in this group, so we use the name attribute. Then we use the :selected filter.
/*
Radio 1
Radio 2
Radio 3
*/ $("input[name='group']:checked").val();
By:
Project 9X(0)
Views:
134
Bookmarked:
0
last Modified:
2/3/2010 9:57:59 AM
Embed:
Copy this code and paste it in your HTML
Tags:
jQuery
Selector
selected value
Comments:
Write Comment..
Please Login to write comments..
comments:
User Login
Username :
Password :
Register
Login
Forgot Password