Warum, wenn ich Datei hochlade und auf mehr klicke, um eine andere Datei hochzuladen, lösche die erste?Warum, wenn ich Datei hochlade und auf mehr klicke, um eine andere Datei hochzuladen, lösche die erste?
<table align="right" border="1" cellpadding="2">
<tr>
<td class="auto-style45" id="theadder"><input type="file" name="the_file_24"> <br><br></td>
<td>Here you<br> can upload <br>your files<br>
<span align="right" style="cursor:pointer;" id="adduploadinput" onclick="javascript:addInput('theadder')">more+</span>
</td>
</tr>
</table>
<!--this the javascript function thats add more files-->
<script>
var inc=1;
function addInput(x){
document.getElementById(x).innerHTML += "<input id=filee"+inc+" type=file name=the_file_24> <br><br>";
inc++;
}
</script>
können Sie mir ein Beispiel zeigen? oder Link, der erklärt, wie man eine Datei hochlädt? – fadi