php – Disable Webpage or browser time using javascript console-ThrowExceptions

Exception or error:

I want to call a JavaScript method or function to stop browser time.

I have seen online quiz websites where a time countdown is running and, if a user has not selected a multiple choice answer before the time runs out, then the next question is automatically shown.

My question is: if the user of a web page wants to stop the count down time, how they can do this?

So far I have tried this function, but it does not do what I want.

clearInterval(1);

Can anyone help?

How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *