Hi, some time ago i added a modal to the Pro header, and used this JS to trigger it:
Query(document).ready(function($) {
$(".call-dokumenter-liste").click(function(event) {
event.preventDefault();
$("#dokumenter-liste-anchor-toggle").click();
});
});
The buttons have the class “call-dokumenter-liste” and the modal has the ID “dokumenter-liste”
In the header and footer, i can have the href be “#” but in the content, that doesn’t work. I found a way around it, by adding a question mark, instead like this href="?". However, that creates duplicate content, which is of course not desirable. Is there a way to you can help me fix this?
The website is: https://ejendomsdox.dk/
Best,
Johan