title: Apply A Function to All Links on Page
body: <p>i have my all links on page like this :</p>
  
  <pre><code>&lt;a href="http://example.com"&gt;Example&lt;/a&gt;
  </code></pre>
  
  <p>But Now I Want All Links With Following OnClick Function like this:</p>
  
  <pre><code>&lt;a onclick="show();" href="http://example.com"&gt;Example&lt;/a&gt;
  </code></pre>
  
  <p>can any one tell me jquery or javascript code to add above function to all links on body, thanks</p>