JSFiddle - React, Tailwind, and code Playground
by romario333
HTML
<input type="checkbox" class="test" />
<br/><br/>
<div id="log"></div>
JavaScript
var count = $(".test").length;
$("#log").text("count=" + count);
by romario333
<input type="checkbox" class="test" />
<br/><br/>
<div id="log"></div>
var count = $(".test").length;
$("#log").text("count=" + count);