multiple answers
This commit is contained in:
parent
768d3f6594
commit
f1a7602a8a
@ -12,8 +12,9 @@
|
||||
|
||||
element.setAttribute("type", "text");
|
||||
element.setAttribute("name", "answer");
|
||||
element.setAttribute("placeholder", "Enter the new answer");
|
||||
|
||||
var foo = document.getElementById("formulaire");
|
||||
var foo = document.getElementById("answerList");
|
||||
foo.appendChild(element);
|
||||
}
|
||||
</script>
|
||||
@ -59,7 +60,7 @@
|
||||
<textarea id="question" name="question"
|
||||
rows="10" cols="50"></textarea>
|
||||
</p>
|
||||
<p>
|
||||
<p id="answerList">
|
||||
<label for="answer">Quelle est la réponse ? </label>
|
||||
<input id="answer" name="answer" type="text" />
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user