how can I set a specific value on click?
For example:
$("input[type='button']").click(function() {
switch(this.id) {
case 'ClickButtonOne': //VARIABLE1=something; break;
case 'ClickButtonTwo': //VARIABLE1=something; break;
}
});
Then print the value somehow onto the screen. Thank you! 🙂
1 Answer