I`m using this link:
<a href="#" id="toggleLastLinks">some text</a>
It works fine on the start page but on every other page, clicking the link will not only trigger the script function but also immediately redirect the user to the home page. I think this happens because xenForo uses base href (yes, I use friendly URLs).
I now added a
But I still would like to know how I could replace the # with a link to the current page URL (including all parameters).
thank you - all the best,