Add the start variable for add new answers in JS

This commit is contained in:
Némunaire 2012-06-18 21:10:15 +02:00
parent b0eeaa1be2
commit b2be4613f2

View File

@ -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>