javascript - How can I get the ID from checkbox of <div> framework -
i doing seat reservation project , using framework checkbox doing this. trying save row , column of each seat session error notice: undefined index: occur.
here code of checkbox using: seat reservation code.
i did try code name of each seat.
html:
<form method="get"> <div id="1_2" role="checkbox" value="80" aria-checked="false" focusable="true" tabindex="-1" class=" seatnumber" name="a2html" method="get">2</div> </form>
php:
<?php if(isset($_get["btncheckout"])) { $a2php = $_get['id']; $_session["a2"] = $a2php; print_r($_session["a2"]); } ?>
Comments
Post a Comment