I am trying to create a possibility for users to 1) select an image using an input field --> the image is displayed in a preview box by the function readURL -- ...
The easiest and simplest way for a developer to accomplish an Ajax file upload is to use pure JavaScript and leave the bulky libraries and frameworks behind.