Evangelo7963

Javascript redirect is downloading file

18 Apr 2019 Option 2 – Redirect to Page Containing the Download Link See our example on how to trigger a file download with the JavaScript Events API  13 Mar 2008 If I do an HTTP Refresh or Javascript redirect, many browsers pop a says “If I'm positive you're using a Mac, initiate a download of the zip file. 1) put js the script in the child theme header directly 2) php function in the child theme function.php. the JS code: