?? maintenance_page.js
字號(hào):
?// JScript ファイル
function selectAllSetOff(row)
{
var substrid="ctl00_Right_Maintenance_List_Control_chkSetOff";
var select=document.getElementById(substrid);
for(var i=0;i<=row;i++)
{
var strid=substrid+i.toString();
if(document.getElementById(strid).disabled!=true)
document.getElementById(strid).checked=select.checked;
}
}
function selectAllSetStop(row)
{
var substrid="ctl00_Right_Maintenance_List_Control_chkSetStop";
var select=document.getElementById(substrid);
for(var i=0;i<=row;i++)
{
var strid=substrid+i.toString();
if(document.getElementById(strid).disabled!=true)
document.getElementById(strid).checked=select.checked;
}
}
function unselectSetOff(row)
{
var substrid="ctl00_Right_Maintenance_List_Control_chkSetOff";
var result=true;
for(var i=0;i<=row;i++)
{
var strid=substrid+i.toString();
if (document.getElementById(strid).disabled!=true)
result=result&&(document.getElementById(strid).checked);
}
var flagcheck=substrid;
document.getElementById(flagcheck).checked=result;
}
function unselectSetStop(row)
{
var substrid="ctl00_Right_Maintenance_List_Control_chkSetStop";
var result=true;
for(var i=0;i<=row;i++)
{
var strid=substrid+i.toString();
if (document.getElementById(strid).disabled!=true)
result=result&&(document.getElementById(strid).checked);
}
var flagcheck=substrid;
document.getElementById(flagcheck).checked=result;
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -