hey, try below plug ins $.fn.checkedZ = function() { return this.each(function(){ this.checked = true; }); }
$.fn.uncheckedZ = function() { return this.each(function(){ this.checked = false; }); } then use it like so... use for example to check all.. $("[EMAIL PROTECTED]'checkbox']").checkedZ(); or to uncheck all.. $("[EMAIL PROTECTED]'checkbox']").uncheckedZ(); or $("[EMAIL PROTECTED]'checkbox']:checked").uncheckedZ(); -- Nilesh B. Patel define-web.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/