Initiating a download with javascript

Viewed 17164

I need to dynamically initiate a download with javascript. I have seen how people do this by doing something like

window.open("some url", "Download");

but I need to do it without changing the url of the current page (and not using frames if I can help it, or created and destroying a frame dynamically). Anybody know how to do this?

1 Answers
Related