Thursday, June 9, 2011

Problem to uncheck list of checkboxes by jQuery

You cannot go this way:
$(':checkbox').attr('Checked', false);

Have to go by
            $(':checkbox').each(function () {
                this.checked = false;

No problem to check all of checkboxes by:
$(':checkbox').attr('Checked', true);


Documentation helps you in the bedroom

NPOI, a open source project for read/write xls, doc, ppt files