Skip to content
Snippets Groups Projects
Commit 47573940 authored by Ben Adida's avatar Ben Adida
Browse files

type=url

parent a5f39755
No related branches found
No related tags found
No related merge requests found
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
function add_answer(el) { function add_answer(el) {
el = $(el); el = $(el);
var num_answers = el.find('input.answer').length + 1; var num_answers = el.find('input.answer').length + 1;
el.find('tbody').append('<tr><th>&nbsp;&nbsp;&nbsp;</th><th>Answer #' + num_answers + '</th><td><input type="text" class="answer" name="answer_' + num_answers + '" size="70" /><br /><nobr>Link (optional, <tt>http</tt> or <tt>https</tt> only): <input type="text" name="answer_url_' + num_answers + '" width="50%" /></nobr></td></tr>'); el.find('tbody').append('<tr><th>&nbsp;&nbsp;&nbsp;</th><th>Answer #' + num_answers + '</th><td><input type="text" class="answer" name="answer_' + num_answers + '" size="70" /><br /><nobr>Link (optional, <tt>http</tt> or <tt>https</tt> only): <input type="url" name="answer_url_' + num_answers + '" width="50%" /></nobr></td></tr>');
} }
function add_answers(el, num) { function add_answers(el, num) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment