Skip to content

Instantly share code, notes, and snippets.

@dstufft
Created May 19, 2013 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dstufft/5608838 to your computer and use it in GitHub Desktop.
Save dstufft/5608838 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
checkAll = function() {
var l = document.getElementsByName(&apos;url-ids&apos;);
for (var i = 0; i &lt; l.length; i++) {
l[i].checked = true;
}
}
unCheckAll = function() {
var l = document.getElementsByName(&apos;url-ids&apos;);
for (var i = 0; i &lt; l.length; i++) {
l[i].checked = false;
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment