Skip to main content
added 4 characters in body
Source Link
Alex V
  • 18.3k
  • 6
  • 37
  • 35

Get all radios:

var radios = jQuery("input[type='radio']");

var radios = jQuery("input[type='radio']");

Filter to get the one thats checked

radios.filter(":checked")

radios.filter(":checked")

Get all radios:

var radios = jQuery("input[type='radio']");

Filter to get the one thats checked

radios.filter(":checked")

Get all radios:

var radios = jQuery("input[type='radio']");

Filter to get the one thats checked

radios.filter(":checked")
Source Link
Alex V
  • 18.3k
  • 6
  • 37
  • 35

Get all radios:

var radios = jQuery("input[type='radio']");

Filter to get the one thats checked

radios.filter(":checked")