I want to make a cinema seats buying system. This is a homework, so i don't have a sever to run this project.
i want to try to use another document (for example:MS access database) to collect the result,but i have no idea how can i make it.
how can i change the checkbox to disabled after the user choose the checkbox? here is my checkbox form
<form>
<ol class="seats" type="A">
<li class="seat">
<input type="checkbox" id="1A" />
<label for="1A">1A</label>
</li>
<li class="seat">
<input type="checkbox" id="1B" />
<label for="1B">1B</label>
</li>
<li class="seat">
<input type="checkbox" id="1C" />
<label for="1C">1C</label>
</li>
<li class="seat">
<input type="checkbox" id="1D" />
<label for="1D">1D</label>
</li>
<li class="seat">
<input type="checkbox" disabled id="1E" />
<label for="1E">Occupied</label>
</li>
<li class="seat">
<input type="checkbox" id="1F" />
<label for="1F">1F</label>
</li>
<li class="seat">
<input type="checkbox" id="1G" />
<label for="1G">1G</label>
</li>
<li class="seat">
<input type="checkbox" id="1H" />
<label for="1H">1H</label>
</li>
</ol>
</form>
Aucun commentaire:
Enregistrer un commentaire