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 5cf6d29 commit 78f0f8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions application/views/inspectionform.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ function trashSnap() {
function uploadFile() {
i = i+1;
let formData = new FormData();
alert(fileupload.length)
alert(fileupload.files[].length)
//if(fileupload.files[0].length > 0) {
for (let i = 0; i < fileupload.length; i++) {
formData.append(fileupload[i].files)
for (let i = 0; i < fileupload.files[].length; i++) {
formData.append(fileupload.files[i])
}

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

0 comments on commit 78f0f8e

Please sign in to comment.