JSFiddle - React, Tailwind, and code Playground
by rwaldron
HTML
<input type="checkbox" id="first" checked />
JavaScript
console.log( $('input[type="checkbox"]').length )
console.log( $('[checked]').length )
by rwaldron
<input type="checkbox" id="first" checked />
console.log( $('input[type="checkbox"]').length )
console.log( $('[checked]').length )