Javascript - Replacing Text and Counting Down

I am looking for a way to countdown numbers each time a user clicks a button. For example, if the user has three chances to click a button, I want the number to be displayed and change each time the user clicks the button.

I was looking to excute some Javascript when the button is clicked, but I am not quite sure how to grab the variable in the textbox and maniupulate it.

Be the first to reply