summaryrefslogtreecommitdiff
path: root/testapp/static/exam/js/add_quiz.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/add_quiz.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/add_quiz.js')
-rw-r--r--testapp/static/exam/js/add_quiz.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/testapp/static/exam/js/add_quiz.js b/testapp/static/exam/js/add_quiz.js
new file mode 100644
index 0000000..56b0e95
--- /dev/null
+++ b/testapp/static/exam/js/add_quiz.js
@@ -0,0 +1,8 @@
+function test()
+{
+ if (document.getElementById("id_description").value != "")
+ {
+ alert("reached condition");
+ document.getElementById("submit").innerHTML = "Save";
+ }
+}