What I'm trying to achieve is this:
By appending an anchor to the end of the URL
(eg. test.htm#anchor1)
I want javascript then to display ONLY the div on the page with the corresponding ID value 'anchor1'
I've tried the following code, but I'm getting errors...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.