On 05 Dec 2006, at 11:05, yufeng wrote: > How to use ajax.updater to upload a file? I have tried to specify > enctype directly in the option and also tried it in the > requestHeaders. > Seems nothing works. Does prototype support file upload? Thanks very > much.
JavaScript doesn't allow file uploads, you have to use tricks like a hidden iframe to support "ajax" uploads. A quick google search would have taken you a long way: http://www.google.com/search?client=safari&rls=en&q=ajax +uploads&ie=UTF-8&oe=UTF-8 Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
