I have a sticky bar with a link in, which I want to point to a section on the parent pages. Ideally I’d just use javascript to overwrite the link in the sticky bar to “domain.com/page#section.” Any attempt to refer to the parent URL with javascript just seems to give domain.com instead of domain.com/page. How can I refer to domain.com/page so that I can append the relevant section?
Best answer by Hristian
View original