Skip to content

Instantly share code, notes, and snippets.

@ryansukale
Created January 23, 2014 16:22
Show Gist options
  • Save ryansukale/8581584 to your computer and use it in GitHub Desktop.
Save ryansukale/8581584 to your computer and use it in GitHub Desktop.
Short snippets of code to do commonplace things using jQuery or pure javascript
$(
//Setting the value of a radio button programmatically
$('input[type=radio]').prop('checked', true);
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment