function SetChecked(boxname) {
f=document.form1;
for( i=0 ; i<f.elements.length i++)="" if="" (f.elements[i].name="=boxname)" f.elements[i].checked="true;" }="" function="" setunchecked(boxname)="" {="" f="document.form1;" for(="" ;="" i="0"><f.elements.length i++)="" if="" (f.elements[i].name="=boxname)" f.elements[i].checked="false;" }="" function="" inverse(boxname)="" {="" f="document.form1;" for(="" ;="" i="0"><f.elements.length ;="" i++)="" if="" (f.elements[i].name="=boxname)" {="" }else="" if(f.elements[i].checked="=false){" f.elements[i].checked="true;" }="">
jsp代码
<bean:message key="common.button.selectall"> </bean:message> <bean:message key="common.button.selectnone"> </bean:message> <bean:message key="common.button.selectinverse"> </bean:message>