diff options
Diffstat (limited to 'testapp/yaksh/static/yaksh_app/js/edit_quiz.js')
-rw-r--r-- | testapp/yaksh/static/yaksh_app/js/edit_quiz.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testapp/yaksh/static/yaksh_app/js/edit_quiz.js b/testapp/yaksh/static/yaksh_app/js/edit_quiz.js new file mode 100644 index 0000000..ce6dac7 --- /dev/null +++ b/testapp/yaksh/static/yaksh_app/js/edit_quiz.js @@ -0,0 +1,9 @@ +function form_load() +{ + var tags = document.getElementsByName('tags'); + + for (var i=0;i<tags.length;i++) + { + tags[i].id = tags[i].id + i; + } +} |