Add the start variable for add new answers in JS
This commit is contained in:
parent
b0eeaa1be2
commit
b2be4613f2
@ -92,7 +92,6 @@ $cs = Course::getCourses();
|
||||
|
||||
foreach($cs as $c)
|
||||
print '<option value="'.$c->getId().'">'.$c->getName().'</option>';
|
||||
|
||||
?>
|
||||
</select>
|
||||
</article>
|
||||
@ -120,6 +119,7 @@ foreach($cs as $c)
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<script type="text/javascript">var nbAnswer = 1;</script>
|
||||
<input type="button" value="Ajouter une réponse supplémentaire"
|
||||
onclick="add()"/>
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user