This commit is contained in:
parent
c997dc5ebe
commit
18cc9f902c
|
@ -78,7 +78,8 @@
|
|||
|
||||
<script>
|
||||
function addline(ligne){
|
||||
document.getElementById("table").insertRow(parseInt(ligne) + 1).insertCell(0).innerHTML = '<input type="file" id="file' + parseInt(ligne) + 1 + '" name="file' + parseInt(ligne) + 1 + '" onchange="addline(' + parseInt(ligne) + 1 + ')">'
|
||||
var lplus = parseInt(ligne) + 1;
|
||||
document.getElementById("table").insertRow(lplus).insertCell(0).innerHTML = '<input type="file" id="file' + lplus + '" name="file' + lplus + '" onchange="addline(' + lplus + ')">'
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue