双十一公司活动策划:编程问题

来源:百度文库 编辑:高校问答 时间:2024/04/26 15:49:33
<script language="javascript">
function setid()
{
str='';
if(!window.form1.no.value)
window.form1.no.value=1;
for(i=1;i<=window.form1.no.value;i++)
str+='  网通:  <input type="text" name="url'+i+'" class="smallinput" style="padding-left:1pt" size=60 value="movie/'+i+'.rm"><BR>';

window.upid.innerHTML=str+'<br>';
}
</script>
<tr>
<td width="85">
<div align="center">影片集数:</div>
</td>
<td>
<input type="text" name="no" class="smallinput" value="1" size=1>
<input type="button" name="Button" class="buttonface" onclick="setid();" value="设定"> (在点击“设定”按钮后才可输入影片对应地址) </td>
</tr>

以上是添加地址,我想让他出线二个添加栏,一个是电信,一个是网通不知道应该怎么修改。谢谢大侠。最好能详细点,我是菜鸟。顺便住新年快乐

再加个函数不就成了.