www.gusucode.com > 全球营销软件站整站源码4月最新数据 4.0源码程序 > 801wyxqf\users\images\manage.js
function CheckAll(form) { for (var i=0;i<form.elements.length;i++) { var e = form.elements[i]; if (e.name != 'chkall') e.checked = true // form.chkall.checked; } } function ContraSel(form) { for (var i=0;i<form.elements.length;i++) { var e = form.elements[i]; if (e.name != 'chkall') e.checked=!e.checked; } } function CheckAll2(form) { for (var i=0;i<form.elements.length;i++) { var e = form.elements[i]; if (e.name != 'chkall') e.checked = form.chkall.checked; } } function CtrlEnter() { if(event.ctrlKey && window.event.keyCode==13) { this.document.myform.submit(); } } function openDialog(url, width, height){ var Win = window.showModalDialog(url,'openDialog','dialogWidth:' + width + 'px;dialogHeight:' + height + 'px;help:no;scroll:no;status:no'); } function showClick(msg){ if(confirm(msg)){ event.returnValue=true; }else{ event.returnValue=false; } } function showsub(id) { document.getElementById(id).style.display = document.getElementById(id).style.display == '' ? 'none' : ''; }