potresti fare così
da richiamare con true per checkare e false per decheckarecodice:function sel(truefalse){ with(document.form1){ for(i=0;i<elements.length;i++){ thiselm = elements[i]; if(thiselm.name.substring(0,3) == 'msg'){ thiselm.checked = truefalse colonna=document.getElementById('cc_'+thiselm.name.substr(4)) if(thiselm.checked)colonna.bgColor='#F1EAD1' else colonna.bgColor='#f9f4e1' } } } }
![]()