title: Initiating a download with javascript
body: <p>I need to dynamically initiate a download with javascript. I have seen how people do this by doing something like  </p>
  
  <pre><code>window.open("some url", "Download");
  </code></pre>
  
  <p>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?</p>