I have a count down timer in javascript. Once the timer is 0 seconds, I want the page to run the code in button1_click event handler.
Scenario: I am doing a quiz engine. When the time finishes, the quiz responses has to be submitted for which I want to run the button1_click event handler.
Please give me some ideas.