ive got 1 checkbox called "selectall" and i want it to disable the rest of the checkboxes in the form. if i give it an id of "selall" and all of the rest id's of "all" when i click it only the 1st gets disabled using
Code:
function assgAll(){
	if (document.getElementById('selall').checked){document.getElementById('all').disabled=true;}
	else {document.getElementById('all').disabled=false;}