[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]
function createForm(number,number2) {
data = "";
if (number<=number2){
alert('请输入大于'+number2+'的数字');
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='积分系数'><br>";
}
if (document.layers) {
document.layers.cust.document.write(data);
document.layers.cust.document.close();
}
else {
if (document.all) {
cust.innerHTML = data;
}
}
}
新闻热点
疑难解答