I have <input type="file"> tag. I need to select an image and change the background of the image to the input image without refreshing or reloading the page. Is it possible ? If yes, how to do it ?
I have <input type=file> tag. I need to select an image and change the
Share
It is possible, but you’d have to make an AJAX file uploader – Javascript can’t access the contents of a file input any any meaningful way.