<script> var save = document.forms['save']; function doSubmit() { if(save['weName'].value=="") { alert("请填写栏目名称!"); save['weName'].focus(); return; } selectall(document.all['Acl']); var aclName = ""; var us = document.all['Acl']; for(var i=0;i
-1) { sel.remove(sel.selectedIndex); } } function delall(sel) { var SourceListLen = sel.options.length; while(SourceListLen>0) { sel.remove(SourceListLen-1); SourceListLen = sel.options.length; } } function selectall(sel) { for(var j=0;j