views:

74

answers:

2

I want the user to post an image to the server and load it back into the page when its ready, all this without leaving the page. What is the best way to do this?

+4  A: 

I would recommend the jQuery form plugin. It has support for file uploads and after completion, you could display the image back to the user.

jonstjohn
+1  A: 

Post to and display the image in an IFrame.

Here is some more detail: http://www.openjs.com/articles/ajax/ajax_file_upload/

mmattax