From a8f3ce37073893b7ce7a48bf43451459cc71bbb3 Mon Sep 17 00:00:00 2001 From: pavlosb Date: Thu, 18 Apr 2024 14:38:21 +0300 Subject: [PATCH] image-multiple --- application/views/inspectionform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/inspectionform.php b/application/views/inspectionform.php index 8885dd3..14cab4c 100644 --- a/application/views/inspectionform.php +++ b/application/views/inspectionform.php @@ -318,7 +318,7 @@ function uploadFile() { alert(fileupload.files.length); //if(fileupload.files[0].length > 0) { for (let j = 0; j < fileupload.files.length; j++) { - formData.append("file", fileupload.files[j]) + formData.append("file", fileupload[j]) console.table(fileupload.files[j]); } console.table(formData);