[jQuery] Re: Form with multipart/form-data not working

2007-06-11 Thread Neil Merton
s a different story then. You can't upload files via ajax. > Use the form plugin for that functionality. For details check > out:http://www.malsup.com/jquery/form/ > > Mike > > On 6/11/07, Neil Merton <[EMAIL PROTECTED]> wrote: > > > > > Thanks for th

[jQuery] Re: Form with multipart/form-data not working

2007-06-11 Thread Neil Merton
gt; > > jQuery does not perform multipart/form-data encoding. It uses > > JavaScript's encodeURIComponent function to encode data so the correct > > enctype is application/x-www-form-urlencoded. > > > Mike > > > On 6/11/07, Neil Merton <[EMAIL PR

[jQuery] Form with multipart/form-data not working

2007-06-11 Thread Neil Merton
Hi all, I'm trying to use the following example with a form that contains multipart/form-data in it but the ajax part won't work - http://www.shawngo.com/gafyd/index.html If I remove the enctype="multipart/form-data" from the form tag it works. Here's the code... $(document).ready(function()