diff options
author | adityacp | 2018-03-08 11:53:39 +0530 |
---|---|---|
committer | adityacp | 2018-03-08 11:53:39 +0530 |
commit | 02705e4c676750291b6a5c4ea14e2947f29cb6c7 (patch) | |
tree | 9ddb47401e4937abb9d3157e2fe058c744950221 /yaksh/static | |
parent | 438f8657021981fc7b2e5adbacc13eb332a2e6d3 (diff) | |
download | online_test-02705e4c676750291b6a5c4ea14e2947f29cb6c7.tar.gz online_test-02705e4c676750291b6a5c4ea14e2947f29cb6c7.tar.bz2 online_test-02705e4c676750291b6a5c4ea14e2947f29cb6c7.zip |
Allow to search the questions in design question paper
Diffstat (limited to 'yaksh/static')
-rw-r--r-- | yaksh/static/yaksh/js/question_paper_creation.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/yaksh/static/yaksh/js/question_paper_creation.js b/yaksh/static/yaksh/js/question_paper_creation.js index 430ec4b..86294b3 100644 --- a/yaksh/static/yaksh/js/question_paper_creation.js +++ b/yaksh/static/yaksh/js/question_paper_creation.js @@ -61,3 +61,12 @@ $(document).ready(function(){ }); });//document +function append_tag(tag){ + var tag_name = document.getElementById("question_tags"); + if (tag_name.value != null){ + tag_name.value = tag.value+", "+tag_name.value; + } + else{ + tag_name.value = tag.value; + } +}
\ No newline at end of file |