script.js
来自「C# 论坛 accesss数据库,支持SQL2000」· JavaScript 代码 · 共 37 行
JS
37 行
function submitonce(theform){
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
//screen thru every element in the form, and hunt down "submit" and "reset"
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
//disable em
tempobj.disabled=true
}
}
}
function openScript(url, width, height){
var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}
function Check(t,n)
{
if(n==1) t.className ="Up"
else
if(n==2) t.className ="Down"
else t.className ="None"
}
function Gopreview()
{
document.PreView.sBody.value=document.View.sBody.value;
var popupWin = window.open('', 'PreView_Page', 'scrollbars=yes,width=750,height=450');
document.PreView.submit();
}
function GetIncept(Incept) {
document.MysmsSend.sIncept.value=Incept;
document.MysmsSend.sIncept.focus();
return;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?