H
I added a button to the Press & Media of my web site for the user to download our logos. However I can only get the file to open in a new window. I would like the button to just download the file and not open it in a new window.
I’ve found this bit of code on the old forum, I’ve added forcedowload in ID, but it doesn’t work.
I know there’s something in the code to change in order for it to work but I don’t know what.
Please help
Added to JS Script on my page:
jQuery( document ).ready(function($) {
$( “#forcedownload” ).attr( “download”, “” );
});