title: Get link anchor out of url with jquery
body: <p>I have a link like</p>
  
  <pre><code>&lt;a href="example.com#exampleId&gt;Link&lt;/a&gt;
  </code></pre>
  
  <p>I need to get the value "#exampleId" into a var. How can i do that? I just found solutions without the #. </p>
  
  <p>Thanks for your help and best regards</p>