Revision: 2701
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 29, 2007 11:38 by davaodude
Initial Code
function toggleDown(nm) { // written by Daniel P 3/21/07 // toggle checkboxes down a whole column var lastskuindex = document.getElementById('lastindex'); for ( i=0; i<=lastskuindex.value; i++ ) { if (document.getElementById(nm+i).checked) { // this one is currently checked document.getElementById(nm+i).checked = false; } else { document.getElementById(nm+i).checked = true; } } // looping down the rows }
Initial URL
Initial Description
Initial Title
Toggle specific row of checkboxes
Initial Tags
form
Initial Language
JavaScript