summaryrefslogtreecommitdiff
path: root/testapp/static/exam/js/add_quiz.js
diff options
context:
space:
mode:
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";
+ }
+}