title: How do I bind a click to an anchor without a framework (javascript)
body: <p>I know this is easily done in jQuery or any other framework, but that's not really the point. How do I go about 'properly' binding a click event in pure javascript? I know how to do it inline (I know this is terrible)</p>
  
  <pre><code>&lt;a href="doc.html" onclick="myFunc(); return false"&gt;click here&lt;/a&gt;
  </code></pre>
  
  <p>and this causes my javascript to execute for a JS enabled browser, and the link to behave normally for those without javascript?</p>
  
  <p>Now, how do I do the same thing in a non-inline manner?</p>