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