summaryrefslogtreecommitdiff
path: root/yaksh/static/yaksh_app/js/add_quiz.js
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/static/yaksh_app/js/add_quiz.js')
-rw-r--r--yaksh/static/yaksh_app/js/add_quiz.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/yaksh/static/yaksh_app/js/add_quiz.js b/yaksh/static/yaksh_app/js/add_quiz.js
new file mode 100644
index 0000000..184881c
--- /dev/null
+++ b/yaksh/static/yaksh_app/js/add_quiz.js
@@ -0,0 +1,11 @@
+function test()
+{
+
+ document.getElementById('id_duration').setAttribute('class','mini-text');
+ document.getElementById('id_pass_criteria').setAttribute('class','mini-text');
+ document.getElementById('id_start_date').setAttribute('class','date-text');
+ if (document.getElementById("id_description").value != "")
+ {
+ document.getElementById("submit").innerHTML = "Save";
+ }
+}