title: Does attaching event handler with a class selector affects dynamically added elements of that class?
body: <p>I am using jQuery to attach a function to my click event for an entire class.  For example:</p>
  
  <pre><code>$(".clickDiv").click(function(){
     $(this).hide();
  });
  </code></pre>
  
  <p>On my client-side javascript, I create more <code>.clickDiv</code> instances dynamically.<br>
    Do I need to call the <code>$(".clickDiv).click(function...)</code> again, or will the new instances automatically have that function bound to the click event?</p>