top | item 32689837

(no title)

likortera | 3 years 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?

discuss

order

tsimionescu|3 years ago

I 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.