AJAX file upload
If you want to upload file asynchronously means without reloading the page. This can be done using this AJAX plug-in named as ?webtoolkit.aim.js?. The same AJAX functionality is used by Gmail to upload attachment files.
URL for Code
http://www.webtoolkit.info/ajax-file-upload.html
Demo URL
http://www.webtoolkit.info/demo/ajax-file-upload
Description
You need to create a form with file fields you wish to upload and define ?onsubmit? event. The Form contains the field for entering name and browse button for seeking file in local directory to upload file using this JavaScript plug-in.