62,046
社区成员
发帖
与我相关
我的任务
分享
function addFile()
{
var i=2;
debugger;
var str = '<BR> <select id=\"'+i+'\" ><option></option></select><input type="file" name="File" runat="server" style="width: 200px"/>';
var ddl=document.getElementById("DropDownList1");
document.getElementById('MyFile').insertAdjacentHTML("beforeEnd",str);
//。。。要怎么写啊?不太懂JS,希望指点下
}