or you could use this plugin http://www.mootools.net/forge/p/uploadmanager
it turns every uploaded file into a hidden form field that can be send along with your form On Mon, May 16, 2011 at 3:46 PM, Savageman <[email protected]> wrote: > Great, iframe is a good way I think. > > I feel this plugin should be available in more, along with > Form.Request and all the options available (Validators, etc.). > At least, the documentation should say explicitly that Form.Request > doesn't work when working with files. I wouldn't be asking if it was. > > Thanks for the quick answer! ;-) > > > On 16 mai, 16:24, Arian Stolwijk <[email protected]> wrote: > > This does not work with the usual Request/Ajax XMLHttpRequest. There are > > some alternatives though, I think there is some new File API in html5, > you > > can use an iframe (http://mootools.net/forge/p/iframeformrequest) or > some > > browser plugin like flash/silverlight. There are already some javascripts > > floating around which abstracts this for you (fancyupload, plupload, …). > > > > > > > > On Mon, May 16, 2011 at 3:25 PM, Savageman <[email protected]> > wrote: > > > Hello, > > > > > I have a question about Form.Request which sends a form using Ajax. > > > Does it works when the form contains an <input type="file"> ? > > > If yes, how is it treated? > > > > > Thanks in advance for the answer. > > > Savage. > -- http://tbela99.blogspot.com/ fax : (+33) 08 26 51 94 51
