1/ I am trying to send a multipart/form-data encoded form through Ajax with
by calling Form.serialize, but it seems that files fields does not support this very well
Is there any special mode to use ?
You cannot send a file through Ajax. You'll have to submit the form normally. To mimic Ajax functionality, you could set the target to a hidden iframe, and on the server side, have it load some _javascript_ that affects the parent window after it's done. Good luck.
Ok, i'll see if i can use encoded hidden b64 text field then, thx
Greg
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
--
Tarek Ziadé | www.afpy.org
Python - why settle for snake oil when you can have the whole snake?
(Mark Jackson)
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs