Send_file using AJAX

I have a AJAX based form and when I use send_file there is no pop-up
that appears to prompt user to download file… how do I fix this?

Regards,
Sudhindra

On 26 Mar., 07:25, Sudhi K. [email protected]
wrote:

I have a AJAX based form and when I use send_file there is no pop-up
that appears to prompt user to download file… how do I fix this?

http://www.catb.org/~esr/faqs/smart-questions.html#beprecise


Best regards,
David K.
http://twitter.com/rubyguy

Sudhi K. wrote:

I have a AJAX based form and when I use send_file there is no pop-up
that appears to prompt user to download file… how do I fix this?

Did you Google for that first? It’s a FAQ in Ajax-land, because browsers
have
security constraints that prevent JavaScript from manipulating file
input elements.

The answer is do old-fashioned Ajax that bypasses JavaScript. When a
form’s
target field is the name of a 1-pixel

Google for that FAQ to learn how to update your page after the call,
because I
forget.


Phlip
http://www.zeroplayer.com/