RE: [PHP-DB] parsing checkbox array without [] and selecting all boxes

2001-07-10 Thread Michael Rudel
Hi Olinux, U may want 2 try this js-code: function ToggleAllCheckboxes() { for( var x = 0; x < document.MYFORM.elements.length; x++ ) { var y = document.MYFORM.elements[x]; if( y.name != 'CHECKALL') y.checked = document.MYFORM.CHECKALL.checked; } } As U C, U have 2 setup a

RE: [PHP-DB] parsing checkbox array without [] and selecting all boxes

2001-07-09 Thread Beau Lebens
don't your checkboxes act like radio buttons when you check them if they all have the same name? i would do something like \n"; } ?>