my code is this i dont know what to do next i want 3 different checkbox groups to be saved with 1 button in their desired column
<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" name="check_list[] /> Haleem <br>
<input type="checkbox" name="check_list[] /> Chicken Karahi <br>
<input type="checkbox" name="check_list[] /> Chanay Paye <br>
<input type="checkbox" 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" name="check_list[] /> Pizza<br>
<input type="checkbox" name="check_list[] /> Burger<br>
<input type="checkbox" name="check_list[] /> Pizza Cone <br>
<input type="checkbox" name="check_list[]/> Shawarma <br>
</div>
<a href="#" class="list-group-item list-group-item-action"><button class="btn" data-`toggle="collapse" data-target="#drink">DRINKS</button></a>`
<div id="drink" class="collapse" style="background-color: white;" >
<input type="checkbox" name="check_list[]/> Coca Cola<br>
<input type="checkbox" name="check_list[]/> Red Bull <br>
<input type="checkbox" name="check_list[] /> Orange Juice <br>
<input type="checkbox" name="check_list[]/> Lemon Juice <br>
</div>
</div>
<br>
<button type="submit" class="btn-success" style=" display: flex; margin:0 auto; align-items:center;">Order</button>
</div>
Aucun commentaire:
Enregistrer un commentaire