急!!!!vbscript 转换为javascript的问题
vbscript原代码
var ColData = new Array(6)
var ColWidth = new Array(6)
var ColTitle = new Array(6)
var i,Re,paces
Re = 0
paces = document.all.item( "paces ").value
ColTitle(0) = "编号 "
ColTitle(1) = "品名 "
ColTitle(2) = "简称 "
ColTitle(3) = "规格 "
ColTitle(4) = "单价 "
ColTitle(5) = "条码 "
ColTitle(6) = "产地 "
ColWidth(0) = "60 "
ColWidth(1) = "60 "
ColWidth(2) = "40 "
ColWidth(3) = "40 "
ColWidth(4) = "20 "
ColWidth(5) = "255 "
ColWidth(6) = "60 "
ColData(0) = document.all.item( "UserCode ").value
ColData(1) = document.all.item( "FullName ").value
ColData(2) = document.all.item( "NickName ").value
ColData(3) = document.all.item( "Standard ").value
ColData(4) = document.all.item( "Price ").value
ColData(5) = document.all.item( "BarCode ").value
ColData(6) = document.all.item( "Area ").value
Re = Re + WebPrint.WriteColOption(ColWidth,ColTitle)
Re = Re + WebPrint.WriteRowData(ColData)
javascript 原代码
var ColData = new Array(7)
&