This question already has an answer here:
- Tri-state Check box in HTML? 14 answers
I'm looking for a way to create a checkbox with these three states that can be cycled by clicking:
- check ("✓") -
true - ex ("X") -
false - blank -
undefinedornull
I'd prefer not to use any external libraries (except jQuery which is already available).
It will be used for a filter form to make queries such as "must have these tags" and "must not have these tags".
Aucun commentaire:
Enregistrer un commentaire