Tak for din interesse i vores arbejde!
Klik på linket nedenfor for at downloade vores priskatalog.
// Function to automatically download a file
function downloadFile(url) {
// Create a hidden anchor element
const link = document.createElement('a');
// Set the href attribute to the file URL
link.href = url;
// Set the download attribute to specify the file name (optional)
link.download = url.split('/').pop();
// Append the anchor element to the body (required for Firefox)
document.body.appendChild(link);
// Programmatically click the link to start the download
link.click();
// Remove the anchor element from the body
document.body.removeChild(link);
}
// URL of the file to download (2026 edition)
const fileUrl = 'https://jorgensen-jorgensen.com/wp-content/uploads/2026/01/JJ-Prisliste_annekser-2026-1-compressed.pdf';
// Call the function to download the file
downloadFile(fileUrl);