You can do a hidden iframe - which is what many sites do - to simulate an AJAX request. Post with a target of the hidden iframe, then in that iframe call javascript in the main frame when the request is complete.
Jeremy On Thu, Oct 8, 2009 at 6:21 AM, Gareth McCumskey <[email protected]>wrote: > You can't with AJAX as the xmlhttprequest method does not allow for > multipart form contents. We got over this by popping a new small window open > and doing an upload from there. > > Other than that, go ahead and do it. All the details of how to do this are > in the symfony documentation. > > On Wed, Oct 7, 2009 at 1:22 AM, Martin Ibarra Cervantes < > [email protected]> wrote: > >> >> hi guys, >> >> I need upload images to my server, for example >> >> >> Image_1 >> Comment_Image_1 >> >> Image_2 >> Comment_Image_3 >> >> Image_3 >> Comment_Image_3 >> >> maybe with ajax or not, but i need save the values in a DB, >> >> >> > > > -- > Gareth McCumskey > http://garethmccumskey.blogspot.com > twitter: @garethmcc > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
