diff options
author | Hardik Ghaghada | 2013-04-26 16:40:34 +0530 |
---|---|---|
committer | Hardik Ghaghada | 2013-04-26 16:40:34 +0530 |
commit | c8b68813ca80aee16261e5f02d541ed48712feae (patch) | |
tree | 85ee9038f09b7aab4fb1b57cbb444108736f708e /testapp/static/exam/js/add_quiz.js | |
parent | 1dd9573cfaa0587cd3217495847a0b456ceb6223 (diff) | |
download | online_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.js | 8 |
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"; + } +} |