I have made an assessment portal using visualforce pages and sites. It is something that is a mock DEV401 exam. But I am facing a problem. At the end of the test, when user submits his test, a confirm box is rendered using javascript 'onClick'. Most of the times, it accepts the user response perfectly, but sometimes, even if the user clicks 'OK', the page does not navigate to the next page that shows the result, but rather refreshes the current page where the timer resets to 90 minutes again. Can anyone please tell me what must be going wrong in it?
Thanks in advance!