Created
March 14, 2013 03:51
-
-
Save flexgrip/5158687 to your computer and use it in GitHub Desktop.
Sharepoint selector for checkboxes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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