I'm using metronic image input component. i cannot console.log the image
var imageInputElement = document.querySelector("[data-kt-image-input=true]");
var imageInput = KTImageInput.getInstance(imageInputElement);
imageInput.on("kt.imageinput.changed", function() {
console.log(imageInput)
});
Thanks for the reference.
Hi,
To get the path of a file input you should use the standard Javascript API as explained here
Regards.
Hi,
Thanks for the reference.
Hi, I have same issue and the link is dead? Can you help?