title: How to store a url in variable after onclick event?
body: <p>For example, in this piece of code:</p>
  
  <pre><code>&lt;a href="www.some.html" onclick="..."&gt;www.some.html&lt;/a&gt;
  </code></pre>
  
  <p>What I have write instead of three dots if I want to store the url (www.some.html) in variable (var MyURL) after click on link?</p>