Posted By

omixen on 10/21/08


Tagged

javascript list input jquery button Value radio val


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

sulfurito
alexteg
asteris


Get Radio Button Value using jQuery


 / Published in: JavaScript
 

originally posted by penguin999 here:

http://snipplr.com/view/3372/radio-button-values-using-jquery/

  1. var var_name = $("input[name='radio_name']:checked").val();

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: theodin on July 29, 2010

I think as of jQuery 1.3.2+ you would drop the @ so it would look like this:

$("input[name='radio_name']:checked").val();

You need to login to post a comment.