JavaScript: Forwarding to another page after downloading
If you have a link to download a file (e.g. a piece of software), you may want to redirect to another page after the user clicks the link, perhaps to gather download statistics or display a message to the user. Setting the window.location in an onclick event for that link does not work, as the [...]