From 96275acd56603667504ab49510556e2b05c5e38e Mon Sep 17 00:00:00 2001 From: pavlosb Date: Fri, 19 Apr 2024 09:14:52 +0300 Subject: [PATCH] multiple-image --- application/views/inspectionform.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/views/inspectionform.php b/application/views/inspectionform.php index b236511..6fc1ddc 100644 --- a/application/views/inspectionform.php +++ b/application/views/inspectionform.php @@ -336,7 +336,10 @@ function uploadFile() { contentType: false, processData: false, success:function(response){ - console.log(response.files[0]); + + response.files.forEach(function(url) { + console.log(url); +}); /* $.each(response.files, function(url) { document.getElementById('results').innerHTML +=