3 ms·
> So, if you're doing all of this effort anyway, why go through the effort of using the HTML input checkbox at all? Because HTML is the only way to do a checkb
by likortera 4y ago
> So, if you're doing all of this effort anyway, why go through the effort of using the HTML input checkbox at all?
Because HTML is the only way to do a checkbox?... Even if you use JavaScript, at the end of the day you'll have to generate HTML for it to render... so then why go through the effort of using JavaScript for a checkbox at all?
- tsimionescu 4y agoI meant, why use <input type="checkbox" >, not why use any HTML tag at all. Of course you need some kind of div or span to style.