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.
