summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-15 19:00:34 +0530
committerPrabhu Ramachandran2011-11-15 19:00:34 +0530
commit5150f68387fefa849ea492504a11f11eb5883eb9 (patch)
treed1b6744e597262df80f3c28ce8f349b690ec236d
parentbda8e58829b6d11ac12e3b31868fcc48e88f1c82 (diff)
downloadonline_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.html2
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>