var startNum = <?php echo $newRowStart?>;
function MakeUpload()
{
var upfield = document.getElementById('uploadfield');
var endNum = parseInt(document.form1.picnum.value) + startNum;
if(endNum > 30) endNum = 30;
for(startNum; startNum < endNum; startNum++)
{
upfield.innerHTML += "<div style='line-height:36px'>软件地址"+startNum+":<input type='text' name='softurl"+startNum+"' style='width:280px' value='' /> 服务器名称:<input type='text' name='servermsg"+startNum+"' style='width:150px' /></div>\r\n";
}
}
function ShowHideAddr()
{
document.getElementById('morelink').style.display = (document.getElementById('morelink').style.display=='block' ? 'none' : 'block');
document.getElementById('btsh3').value = (document.getElementById('morelink').style.display=='block' ? '隐藏地址' : '显示地址');
}
4、找到
<tr>
<td colspan="2"><?php
PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'autofield');
?></td>
</tr>
在其下边加入以下代码: