a2a484daba
Correct when empty result The image showed when the result was empty. Now if the `dn == ""` then we write in the column image just `""`
5 lines
243 B
JavaScript
5 lines
243 B
JavaScript
document.querySelector('.custom-file-input').addEventListener('change',function(e){
|
|
var fileName = document.getElementById("image").files[0].name;
|
|
var nextSibling = e.target.nextElementSibling
|
|
nextSibling.innerText = fileName
|
|
})
|