title: Automatically assign event handler to new element
body: <p>Say I have some code like this which is called on <code>$(document).ready()</code></p>
  
  <pre><code>$(".someClass").click(function(){
      //do something 
  });
  </code></pre>
  
  <p>Later on I have some jquery to create an element with the class <code>someClass</code>. Is there anyway to automatically attach the click from above or do I have to manually attach it again?</p>