Posted: 14 Nov 2010 07:24 AM PST
$(function() { $('#checkall').live('change', function() { var chk = $(this).attr('checked'); $(this).parent().find('li input[type="checkbox"]').attr('checked', chk); }); });
Posted: 14 Nov 2010 07:24 AM PST
$(function() { $('#checkall').live('change', function() { var chk = $(this).attr('checked'); $(this).parent().find('li input[type="checkbox"]').attr('checked', chk); }); });