There is a way in modern browsers to force a file upload through a
pure Ajax connection. Have a look at noswfupload for a working
example. You must however provide a fallback for browsers from
Washington state and older browsers from elsewhere, using an iframe as
the form's target. (noswfupload does this, I believe, it's been a
while since I went through its internals.) I am not aware of any
middle way which avoids that requirement.
Walter
On Sep 10, 2010, at 2:19 PM, Blaine wrote:
When one assigns to window.location, the web browser automatically
invokes attachment-handling according to the contentType if the
response's Content-Disposition is set to "attachment". The same thing
happens if the request is elicited by a traditional form submittal or
triggering an href linked to the Content-Disposition==attachment
target.
--
You received this message because you are subscribed to the Google Groups "Prototype
& script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.