aboutsummaryrefslogblamecommitdiffstats
path: root/view/js/mod_webpages.js
blob: 7cfe297e11143798f338ba852d6b98444b3528d6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                         
$(document).ready(function() {	
	$("input[type=\"checkbox\"]").hide();
});

window.isChecked = true;

function checkedAll(isChecked) {
		window.isChecked = !window.isChecked ;
		var c = document.getElementsByTagName('input');
		for (var i = 0; i < c.length; i++){
				if (c[i].type == 'checkbox'){
								c[i].checked = isChecked;
				}
		}
}