Javascript or jQuery: Download and redirect
<p>Currently some guys programmed this in a HTML page:</p>

<pre><code>&lt;script&gt;
    location='http://example.com/downloadable.zip';
&lt;/script&gt;
</code></pre>

<p>They want to redirect the user to another page once the file has started downloading. I can only modify this page but not the destination page.</p>

<p>What would be a good and clean javascript solution for making a user download the file and once he had accepted (or rejected) it, redirect him to another location? The solution may be jQuery code</p>

<p>NOTE: The downloading and redirection must be done automatically when accessing the page</p>
