Anchor to element within hidden div
I'm trying to make a href link to an anchor on another page (let's call it page 2 to make it easier), however on page 2, the anchor in question is contained within a div that is originally hidden when you first visit it (The div expands to reveal the content when header is clicked. So of course by default, the div has the property 'display:none'). Here's a small sample of the exact kind of thing I'm talking about. <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <style> p {color:#000;} </style> <script> $(document).ready(function(){ $("#f