js移动光标再产生input
时间:2005-12-03 来源:ydlhero
由于开发的需要特此写的 刷ean13 移动光标
[color="#000000"]
function Total(){
var s1="";
var j=0;
//total.innerText = s+parseInt(document.orderform.amount1.value) *parseInt(document.orderform.amount2.value)+s2;
[color="#000000"] if(document.orderform.amount2.value=='')return false ;
if(document.orderform.tos.value=='NaN') document.orderform.tos.value=0;
for(var i=0;i
"
}
total.innerHTML =total.innerHTML+s1;
document.orderform.tos.value=parseInt(document.orderform.tos.value) + parseInt(document.orderform.amount2.value);
//to.innerText= document.orderform.tos.value;
}
[color="#000000"]
[color="#000000"]
function Total(){
var s1="";
var j=0;
//total.innerText = s+parseInt(document.orderform.amount1.value) *parseInt(document.orderform.amount2.value)+s2;
[color="#000000"] if(document.orderform.amount2.value=='')return false ;
if(document.orderform.tos.value=='NaN') document.orderform.tos.value=0;
for(var i=0;i
"
}
total.innerHTML =total.innerHTML+s1;
document.orderform.tos.value=parseInt(document.orderform.tos.value) + parseInt(document.orderform.amount2.value);
//to.innerText= document.orderform.tos.value;
}
[color="#000000"]
相关阅读 更多 +