An input of type checkbox when fires its onchange
event the this.value
is always set to on
even when the checkbox is ticked off in which case I'd expect it to be off
Is this the intended behavior?
<input type="checkbox" onchange="alert(this.value)">
Aucun commentaire:
Enregistrer un commentaire