title: Adding checkboxes to an unordered list using jQuery
body: <p>What would be the jQuery code to add a checkbox to every <code>&lt;li&gt;</code> element in an unordered list and handle their callbacks obtaining the li text or checkbox properties like name/value?</p>
  
  <p>I started with something like this:</p>
  
  <pre><code>$(document).ready(function() {
     $("#SuperTextbox1_Results").children('li').each(function() {
        $(this).prepend('&lt;input type="checkbox" name="test" value="test" /&gt;');
     });
  });
  </code></pre>