TechXoft
  • Home
  • Services
  • Portfolio
  • About Us
  • Testimonials
  • FAQs

radio button

Get value of selected radio button using jQuery

Posted on July 2, 2013July 5, 2013 by admin
Question: How can I get value of selected radio button using jQuery?
Answer:
you can use following JQuery syntax for this:

  var field_name     = 'yourradioname'; //Your Radio Buttons Common Name
  var selected_value =	$("input[name='"+field_name+"']:checked").val();
Posted in Questions Tagged Code Ignitor, javascript, Joomla, jquery, MVC, PHP, radio button, readonly, web development, WordPress Leave a comment

Follow Us!

Follow Us on FacebookFollow Us on Twitter

© and All Rights Reserved 2014 TechXoft.