How to make when select some image file using input file type then it upload and show on screen.
html:
<input type="file" name="file" id="imagefile">
<div id="imageshow"></div>
jquery:
$("#imagefile").on("change",(function() {
//code of upload image
//code of move image file from temp to /upload folder
//code of show to div imageshow
}));
Should i use post get? or something else.