title: 2 different on click events conflict?
body: <p>I have one link:</p>
  
  <pre><code>&lt;a href="javascript:void(0)" class="lorem hello"&gt; link &lt;/a&gt;
  </code></pre>
  
  <p>And I have two different onclick function set to the two classes like this:</p>
  
  <pre><code>jQuery(".lorem").each(function(){
      this.onclick = function() {
  
          // stuff
  
      }
  });
  </code></pre>
  
  <p>and</p>
  
  <pre><code>jQuery(".hello").each(function(){
      this.onclick = function() {
  
          // stuff
  
      }
  });
  </code></pre>
  
  <p>This stops the top one to work. Why? And how can I make both functions work while being separated?</p>