Skip to content

Instantly share code, notes, and snippets.

@maxparm
Created March 26, 2012 22:54
Show Gist options
  • Save maxparm/2210415 to your computer and use it in GitHub Desktop.
Save maxparm/2210415 to your computer and use it in GitHub Desktop.
JS - jQuery get checked value from input radio
$(function(){
$('input[name="myInput"]:checked').val();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment