This commit is contained in:
piair 2023-08-21 21:29:23 +02:00
parent 38de2f040d
commit c997dc5ebe
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@
<script> <script>
function addline(ligne){ function addline(ligne){
document.getElementById("table").insertRow(int(ligne) + 1).insertCell(0).innerHTML = '<input type="file" id="file' + int(ligne) + 1 + '" name="file' + int(ligne) + 1 + '" onchange="addline(' + int(ligne) + 1 + ')">' 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 + ')">'
} }
</script> </script>