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 +=