Thanks, Wichert.

Rick

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Wichert Akkerman
Sent: Friday, February 27, 2009 11:32 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: jquery.form fails to handle JSON responses with iframe
submit



Previously Rick Faircloth wrote:
> I spent all of yesterday trying to upload a file via AJAX only to read 
> that it's not possible, without an iframe or something else involved.
> 
> Where's the iFrame in Wichert's code?  Wichert, is it specified in the 
> action code?  action=/cms/addImage?
> 
> Or is $.ajaxSubmit able to handle files whereas $.ajax isn't?

Correct. ajaxSubmit comes from Mike Alsup's jQuery form plugin, see
http://malsup.com/jquery/form/

Wichert.

-- 
Wichert Akkerman <wich...@wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.

Reply via email to