samedi 28 mars 2015

JavaScript undo onclick action?

I have an HTML checkbox. It uses an onclick javascript event to increment an integer var by 1.


I want to decrement the var by one if the checkbox is then unchecked. How can I do this?





Aucun commentaire:

Enregistrer un commentaire