summaryrefslogtreecommitdiff
path: root/testapp/static/exam/js/edit_question.js
diff options
context:
space:
mode:
authorHardik Ghaghada2013-04-26 16:40:34 +0530
committerHardik Ghaghada2013-04-26 16:40:34 +0530
commitc8b68813ca80aee16261e5f02d541ed48712feae (patch)
tree85ee9038f09b7aab4fb1b57cbb444108736f708e /testapp/static/exam/js/edit_question.js
parent1dd9573cfaa0587cd3217495847a0b456ceb6223 (diff)
downloadonline_test-c8b68813ca80aee16261e5f02d541ed48712feae.tar.gz
online_test-c8b68813ca80aee16261e5f02d541ed48712feae.tar.bz2
online_test-c8b68813ca80aee16261e5f02d541ed48712feae.zip
Dumped JS from HTML pages to separate JS files
Diffstat (limited to 'testapp/static/exam/js/edit_question.js')
-rw-r--r--testapp/static/exam/js/edit_question.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/testapp/static/exam/js/edit_question.js b/testapp/static/exam/js/edit_question.js
index 69e0d97..acba384 100644
--- a/testapp/static/exam/js/edit_question.js
+++ b/testapp/static/exam/js/edit_question.js
@@ -33,6 +33,19 @@ function decrease(frm,n)
}
}
+function grade_data(showHideDiv)
+{
+ var ele=document.getElementById(showHideDiv);
+ if (ele.style.display=="block")
+ {
+ ele.style.display = "none";
+ }
+ else
+ {
+ ele.style.display = "block";
+ }
+}
+
function data(showContent,showHideDiv,a,summary)
{