Skip to content

Commit

Permalink
multiple-images
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Apr 17, 2024
1 parent daef330 commit c8f1b47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/views/inspectionform.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ function uploadFile() {
let formData = new FormData();
alert(fileupload.files.length)
//if(fileupload.files[0].length > 0) {
for (let i = 0; i < fileupload.files[].length; i++) {
formData.append(fileupload.files[i])
for (let i = 0; i < fileupload.files.length; i++) {
formData.append(fileupload[i].files)
}

//formData.append("file", fileupload[].files);
Expand Down

0 comments on commit c8f1b47

Please sign in to comment.