News for hackers. Stuff that matters.
Re:You don't need JavaScript for that by jotaen on Saturday December 02, 2023 @07:20AM (#38498102)
To me, they have slightly different semantics: I perceive the checkbox as “passive” form element (i.e., only to have an effect on form submission), whereas the toggle switch I understand as instant action (i.e., effectuated immediately, on click). Unfortunately, it’s not consistently used that way in practice, which makes the situation confusing at times.

There are no comments on this comment yet.