Skip to content

Instantly share code, notes, and snippets.

@flexgrip
Created March 14, 2013 03:51
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 flexgrip/5158687 to your computer and use it in GitHub Desktop.
Save flexgrip/5158687 to your computer and use it in GitHub Desktop.
Sharepoint selector for checkboxes
<script type="text/javascript">
/* $(document).ready(function() {
var thelist = new Array();
$('input.s4-itm-cbx').change(function() {
if(this.checked) {
checker = $(this).parent().parent().attr("iid").split(',');
thelist.push(checker[1]);
alert(thelist);
}
});
}); */
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment