I have a website were users can create a profile and upload an image for their avatar. The way I have it set up now is a simple HTML form one with an upload box where you Browse to pick a file, and then press "upload" to submit the form.
What technology/language would be the best to have the image automatically upload and display on the page once the file is selected WITHOUT submitting the form.
A live example of what I would like is how Gmail uploads their attachments automatically once you pick the file from the file browser.
Thanks