Image Upload > Submit with AJAX that replace a div content w


#1

Hello,

I just want to know if it possible to do an image upload with AJAX that
replace a div content with the uploaded file.

Well, with link_to_remote, I know how to do simple AJAX. But with a
submit button, I have no idea.

Someone have an idea ?


#2

Unfortunately no.

Check out this page:
http://mir.aculo.us/articles/2005/09/30/fud-revisited-1-can-you-upload-files-with-ajax

–Eldon

----- Original Message ----
From: oo00oo removed_email_address@domain.invalid
To: removed_email_address@domain.invalid
Sent: Monday, January 23, 2006 12:13:33 PM
Subject: [Rails] Image Upload > Submit with AJAX that replace a div
content with the uploaded file. Possible ?

Hello,

I just want to know if it possible to do an image upload with AJAX that
replace a div content with the uploaded file.

Well, with link_to_remote, I know how to do simple AJAX. But with a
submit button, I have no idea.

Someone have an idea ?