Toggle input checkboxes clicking their parent area

Without JavaScript:

Thanks to japanfever

2 replies
  1. japanfever
    japanfever says:

    Without Javascript:

    <ul>
    <li><label><input type=”checkbox”>Freedom</label></li>
    <li><label><input type=”checkbox”>Equality</label></li>
    <li><label><input type=”checkbox”>Fraternity</label></li>
    </ul>

    ====

    Freedom
    Equality
    Fraternity

Comments are closed.