Preview an Image Before it is Uploaded Using jQuery
JavaScript readAsDataURL() function of the FileReader object. The readyState changes to DONE after the read process is complete, and the loadend is then triggered. The file's contents are returned by...