Ledadbbs User provides a dynamic Add/delete file field code, not bad, a collection.
<textarea id="runcode80994"><input Type=button value= "Add" onclick= ' AddItem ("TB") ' > <table id= ' TB ' ></table> <script Lang uage= "JavaScript" > function additem (ID) {var row,cell,str; row = eval ("document.all[" + ' "' +id+ '" ' + "]"). InsertRow (); if (row!= null) {cell = Row.insertcell (); Str= "<input type=" + "" + "file" + ' "+" name= "+ '" "+" AddFile "+" "' +" ><input "+" "' +" button "+ '" "+" "+" "+" "+" type= "+" "' +" delete "+" "' +" onclick= ' DeleteItem (this, "+" "' +" TB "+ '" "+"); ' > "CELL.INNERHTML=STR; } function DeleteItem (obj,id) {var rownum,currow; Currow = Obj.parentNode.parentNode; RowNum = eval ("document.all." +id). rows.length-1; Eval ("document.all[" + ' "' +id+ '" ' + "]"). DeleteRow (Currow.rowindex); } </script></textarea>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]