[Ctrl+A 全選 注:如需引入外部Js需刷新才能執(zhí)行]
function createForm(number,number2) {
data = "";
if (number<=number2){
alert('請輸入大于'+number2+'的數(shù)字');
return false;
}
numberx=parseInt(number2)+1;
for (i=numberx; i<=number;i++) {
data =data + "<textarea name='leibie"+i+"' cols='40' rows='4' class='areaboder'>商品類別</textarea> <input name='jifen"+i+"' type='text' size='10' class='areaboder' value='積分系數(shù)'><br>";
}
if (document.layers) {
document.layers.cust.document.write(data);
document.layers.cust.document.close();
}
else {
if (document.all) {
cust.innerHTML = data;
}
}
}
新聞熱點
疑難解答