I have a question about how I can do the following situation:
I have a <input type="file">
with bootstrap classes and next to a button, this button would have the function of, when I uploaded this image, pressing the button would open a modal with the preview of the image contained in the input . I just scoured the darkest part of surfaceweb and just found it to show the preview in <div>
.
Is there any way to load the browser image into the input, does it send a preview of it to the modal that opens when the button is pressed?
For now I have nothing in the script, as for the modal and the button, they are simple with no function in them.