On Tuesday, October 12, 2010, Dave Watts <dwa...@figleaf.com> wrote:

> You can't prompt the user to download a file if you're invoking the
> URL with standard jQuery AJAX calls. You have to basically just fetch
> the URL into a new or blank window.

I'd recommend posting to an iframe. You can even build the iframe
dynamically if you want, it doesn't have to be visible on the page.
I've used this technique in the past with great success.

-Dan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338107
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to