Skip to content

Instantly share code, notes, and snippets.

@shankarcabus
Created June 18, 2013 01:54
Show Gist options
  • Save shankarcabus/5802074 to your computer and use it in GitHub Desktop.
Save shankarcabus/5802074 to your computer and use it in GitHub Desktop.
Check all in Facebook event
checkboxes=document.getElementsByName("checkableitems[]");for(var i=0,n=checkboxes.length;i<n;i++){checkboxes[i].checked=true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment