php & jquery upload image and preview display instantly
im looking forward to create an upload module where user can browse, click open and it will instantly display a preview of that image without having to click a submit button so that user can continue to key in other information. i've done a simple but incomplete jquery below which basically capture the image name. but my question is how do i post the upload image to the php script since there is there is no submit button for POST? i cant capture $_FILES array values. jquery: $(document).ready(function() { $("#uploadimage").change(function() { var imagesrc = $("#uploadimage").val(); $.post("