AJAX File Upload Form Submission
-
Hello, I have a standard DHTML File Upload form (transporting the file over the post command). Now when a user clicks the submit button I don't want a new page to be loaded, I want the file to be uploaded over an AJAX call. So that not the whole page needs to be reloaded! XMLHttpRequest Object can deal with POST data, but how can I give it the POST data of the file? With best regards, Ben
-
Hello, I have a standard DHTML File Upload form (transporting the file over the post command). Now when a user clicks the submit button I don't want a new page to be loaded, I want the file to be uploaded over an AJAX call. So that not the whole page needs to be reloaded! XMLHttpRequest Object can deal with POST data, but how can I give it the POST data of the file? With best regards, Ben
Look at: http://www.digg.com/programming/AJAX_File-Upload_Progress_Script_w_Easy_Install http://www.captain.at/ajax-file-upload.php http://www.codeproject.com/useritems/AJAXUpload.asp Or just Google for "AJAX file upload" :-) Best regards, - Dmitry.
------------------------- Don't worry, be happy :o)