diff options
author | Prabhu Ramachandran | 2011-11-15 19:00:34 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-15 19:00:34 +0530 |
commit | 5150f68387fefa849ea492504a11f11eb5883eb9 (patch) | |
tree | d1b6744e597262df80f3c28ce8f349b690ec236d | |
parent | bda8e58829b6d11ac12e3b31868fcc48e88f1c82 (diff) | |
download | online_test-5150f68387fefa849ea492504a11f11eb5883eb9.tar.gz online_test-5150f68387fefa849ea492504a11f11eb5883eb9.tar.bz2 online_test-5150f68387fefa849ea492504a11f11eb5883eb9.zip |
Submit form and then change page.
-rw-r--r-- | templates/exam/question.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/exam/question.html b/templates/exam/question.html index 8d4c0bd..1798606 100644 --- a/templates/exam/question.html +++ b/templates/exam/question.html @@ -3,13 +3,13 @@ <script language="javascript"> function submitCode() { + document.forms["code"].submit(); var x = document.getElementById("status"); x.innerHTML = "<strong>Checking answer ...</strong>"; x = document.getElementById("check"); x.disabled = true; x.value = "Checking Answer ..."; document.getElementById("skip").disabled = true; - document.forms["code"].submit(); } </script> |