Change the select all checkbox from onClick
to onChange
and see if that works.
The .checked
will be true or false. It’s a property of the element.
Change the select all checkbox from onClick
to onChange
and see if that works.
The .checked
will be true or false. It’s a property of the element.