當(dāng)我點(diǎn)擊任何其他按鈕,如 desi food 快餐或飲料時(shí),我的訂單按鈕會(huì)自動(dòng)點(diǎn)擊我不知道這兩個(gè)按鈕是否相互重疊或者有什么問(wèn)題我是菜鳥(niǎo) <form method="post" action="orders.php" > <div class="container"> <div class="container col-sm-8"> <h3 style="color:Purple; text-align: center; background:#A1F3B2; " > Menu: </h3> <div class="container"> <div class="list-group"> <a href="#" class="list-group-item list-group-item-action"><button class="btn" data-toggle="collapse" data-target="#desi">Desi Food</button></a> <div id="desi" class="collapse" style="background-color: white;" > <input type="checkbox" value="haleem" name=check_list[] /> Haleem <br> <input type="checkbox" value="chicken karahi" name=check_list[] /> Chicken Karahi <br> <input type="checkbox" value="chanay paye" name=check_list[] /> Chanay Paye <br> <input type="checkbox" value="sabzi" name=check_list[] /> Sabzi <br> </div> <a href="#" class="list-group-item list-group-item-action"><button class="btn" data-toggle="collapse" data-target="#fast">FAST FOOD:</button></a> <div id="fast" class="collapse" style="background-color: white;"> <input type="checkbox" value="pizza" name=check_list[] /> Pizza<br> <input type="checkbox" value="burger"name=check_list[] /> Burger<br> <input type="checkbox" value="pizza cone"name=check_list[] /> Pizza Cone <br> <input type="checkbox" value="Shawarma" name=check_list[]/> Shawarma <br> </div> </div> </div> <br> </div> </form>
當(dāng)我點(diǎn)擊 desi food 等任何其他按鈕時(shí),我的訂單按鈕被觸發(fā)
月關(guān)寶盒
2023-03-26 14:10:16