I really like these pretty checkbox/radio buttons.
I am wondering if I were to have multiple checkboxes with the proper markup, what would an external button need to look for to toggle a Select All function?
Hi @Murphy1976,
you are using checked property of a button instead of a checkbox (your JS code implies that selectAll must be a checkbox not a button)
this Codepen is what your code must change to
I really like these pretty checkbox/radio buttons. I am wondering if I were to have multiple checkboxes with the proper markup, what would an external button need to look for to toggle a Select All function?
For example: HTML
JS:
Clicking the button does nothing in this instance.