title: HTML attribute on anchor tag which executes Javascript when page loads
body: <p>Is there an attribute I can give to an <strong>anchor tag</strong> in which I can put Javascript code that runs when the page is loaded.</p>
  
  <p>Something like this:</p>
  
  <pre><code> &lt;a href="#" whenpageloads="alert('page loaded')" /&gt;blah blah&lt;/a&gt;
  </code></pre>
  
  <p>It has to be added to an anchor tag, not the body tag of the page.</p>
  
  <p>Thanks!!</p>