title: jQuery Checkbox event handling with .live()
body: <p>Newbie to jQuery here. I have a check box that is dynamically added through the following code in jQuery:</p>
  
  <pre><code>.html("&lt;input type='checkbox' class='checkbox' value='7.5'&gt;");
  </code></pre>
  
  <p>I want to be able to eventually call a function if a checkbox is clicked. I have tried using these two variants of code:
  for the class checkbox:</p>
  
  <pre><code>$(".checkbox").live('click', function() {
      alert('test');
  });
  </code></pre>
  
  <p>or to call all checkboxes:</p>
  
  <pre><code>$(":checkbox").live('click', function() {
  
      alert('test');
  });
  </code></pre>
  
  <p>This isn't working at all. Any ideas?
  Much appreciated!</p>