title: Trigger jQuery if URL contains ID
body: <p>I have several pages on a website that use hidden divs which are displayed when a section link is clicked (using <code>id=sectionname</code>). However, if someone goes straight to mysite.com/#sectionname, that section remains hidden unless the person clicks the link.</p>
  
  <p>Is there a way to use jQuery to check if a div id is passed via the url, and trigger the click? Something along the lines of [not actual code]:</p>
  
  <pre><code>if ('# is in url') {
       $('#-characters-until-?').trigger("click");
  }
  </code></pre>