I'm doing for cinema seating plan with php. I want to show to users what seat they selected and what price must pay in ticketinfo div with jquery on seat select and remove info when they uncheck..
<div class="seatplan">
<input type='checkbox' name='A1' value='200'>
<input type='checkbox' name='A2' value='200'>
<input type='checkbox' name='A3' value='300'>
<input type='checkbox' name='A4' value='200'>
<input type='checkbox' name='A5' value='300'>
</div>
<div class="ticketinfo">
seat no A1 200
seat no A3 200
-------------------
Total Amount 400
</div>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…