function MakeVideo()
{
var startNum = 2;
var Videolist = document.getElementById("Videolist");
var endNum = document.form1.videonum.value;
if(endNum>100) endNum = 100;
Videolist.innerHTML = "";
for(startNum;startNum<=endNum;startNum++){
Videolist.innerHTML += "<input name=\"videoname["+startNum+"]\" type=\"text\" id=\"videoname"+startNum+"\" value=\"第"+startNum+"集\" size=\"10\" /> \r\n";
Videolist.innerHTML += "<input type=\"text\" id=\"videourl"+startNum+"\" name=\"videourl["+startNum+"]\" value=\"\" style=\"width:250px\"/>\r\n";
Videolist.innerHTML += "<input name=\"sel"+startNum+"\" type=\"button\" id=\"sel"+startNum+"\" value=\"选取\" onclick=\"SelectMedia('form1.videourl"+startNum+"')\" class=\"inputbut\" /><br/>\r\n";
}
}我想把这段html的代码按照上面的格式来写,但是一直出错。希望高手指点。谢谢了。拜谢。
<td height="100" class="bline">
<input type="hidden" id="plot" name="plot" value="" style="display:none" /><input type="hidden" id="plot___Config" value="FullPage=false" style="display:none" /><iframe id="plot___Frame" src="/include/FCKeditor/editor/fckeditor.html?InstanceName=plot&Toolbar=Small" width="100%" height="250" frameborder="0" scrolling="no"></iframe> </td>
</tr>
</table>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货