11 2010 档案
摘要:JS如下:var TableUtil = new Object();TableUtil.Convert = function(sValue,sDataType){ switch(sDataType) { case "int": return parseInt(sValue); case "float": return parseFloat(sValue); case "date": return ...
阅读全文
摘要:JS如下:TableUtil.Convert = function(sValue,sDataType){ switch(sDataType) { case "int": return parseInt(sValue); case "float": return parseFloat(sValue); case "date": return new Date(Date.parse(sValue));...
阅读全文
摘要:方法一:JS如下://保存为JScript1.js文件TableUtil.generateReverseCompareTRs = function(iCol){ return function compareTRs(oTR1,oTR2) { //var flag = document.getElementById("tempFlag").value; var sValue1 = oTR1.cel...
阅读全文
摘要:JS如下:var TableUtil = new Object();TableUtil.compareTRs = function(oTr1,oTr2){ var flag = document.getElementById("tempFlag").value; var sValue1 = oTr1.cells[0].firstChild.nodeValue; var sValue2 = oTr...
阅读全文
摘要:JS如下:var TextUtil = new Object();var ListUtil = new Object();ListUtil.remove = function(oListbox,iIndex){ oListbox.remove(iIndex);}ListUtil.clear = function(oListbox){ for(var i = oListbox.options.len...
阅读全文

浙公网安备 33010602011771号