Skip Navigation LinksHome > Code > View Code
          My Code      Submit Code
   |       Categories   Top 50
Find selected Radio button value from group in 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 report

Embed:
  Copy this code and paste it in your HTML
 
Tags: jQuerySelectorselected value



Comments:




Write Comment..

Please Login to write comments..
 
comments:
 
   
 
 

User Login
Username :
Password :
Register Login

Forgot Password