📄 order.js
字号:
<!--
function orderSubmit(orderIndex)
{
//下面的for循环是为了只有一个排序字段,如果可以有打个排序字段,只需要将下面的循环取消
for(var i = 0; i < document.frmcx.orders.length; i ++)
{
if(i != orderIndex)
{
document.frmcx.orders[i].value = "";
}
}
if(document.frmcx.orders[orderIndex].value == "true")
{
document.frmcx.orders[orderIndex].value = "false";
goto();
return;
}
if(document.frmcx.orders[orderIndex].value == "false")
{
document.frmcx.orders[orderIndex].value = "";
goto();
return;
}
if(document.frmcx.orders[orderIndex].value == "")
{
document.frmcx.orders[orderIndex].value = "true";
goto();
return;
}
}
function writeHead(strHead,orderIndex,bOrder)
{
var strOut;
strOut = "<span>" + strHead + "</span>";
if(bOrder == "null")
{
}
else if(bOrder == "true")
{
strOut += " <img src=/images/bar_up.gif>";
}
else
{
strOut += " <img src=/images/bar_down.gif>";
}
document.write (strOut);
//alert(strOut);
}
function HeadTd(orderIndex1){
orderSubmit(orderIndex1);
}
-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -