[jQuery] Re: jQuery + jQuery.form ajaxForm file upload problems

2008-12-11 Thread cas...@gmail.com
Thank you man, save my day! On 12 nov, 01:58, Sam Coughlin <[EMAIL PROTECTED]> wrote: > Hi, Sam again here. > > Just thought I'd let everyone know I had to change the headers to be > content type HTML and it worked fine. > > On Nov 12, 4:02 pm, Sam Coughlin <[EMAIL PROTECTED]> wrote: > > > > > Hi

[jQuery] Re: jQuery + jQuery.form ajaxForm file upload problems

2008-11-11 Thread Sam Coughlin
Hi, Sam again here. Just thought I'd let everyone know I had to change the headers to be content type HTML and it worked fine. On Nov 12, 4:02 pm, Sam Coughlin <[EMAIL PROTECTED]> wrote: > Hi Mike, thanks for the reply. > > It's sending it as "application/json" at the moment. I will try > sendin

[jQuery] Re: jQuery + jQuery.form ajaxForm file upload problems

2008-11-11 Thread Sam Coughlin
Hi Mike, thanks for the reply. It's sending it as "application/json" at the moment. I will try sending it as text/plain and get back to you. On Nov 12, 3:57 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > I have made a basic test case with a few text inputs and it works > > perfect with just them.

[jQuery] Re: jQuery + jQuery.form ajaxForm file upload problems

2008-11-11 Thread Mike Alsup
> I have made a basic test case with a few text inputs and it works > perfect with just them. > > However if I add a file input to them the json object is sent to the > browser as a file download and the success method is never hit. Is this happening on all browsers? What is the mime type of th