I have a problem with my web system done in PHP/Laravel
:
I have a loop of repetition and inside this loop I have a button for each item, which opens a bootstrap modal, as follows:
<button name = "btnAbrirDetalhes" data-toggle = "modal" data-target = "#modalDetalhesPedido" class = "btn btn-primary" data-id="{{$sanduiche->id}}">Detalhes</button>
<div class="modal fade" id="modalDetalhesPedido" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content" style = "height: 900px">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"></span></button>
<h4 class="modal-title" id="myModalLabel" style = "font-weight: bold">Detalhes do Pedido (Nome do pedido)</h4>
</div>
<div class="modal-body" style = "height: 195px;">
<p name="id"></p>
<h1 id = "nome">Nome</h1>
<h2 id = "preco">Preco: R$ 20,00</h2>
<input type = "checkbox" name = "" value = "bacon">Bacon<br>
<input type = "checkbox" name = "" value = "bacon">Mussarela<br>
<input type = "checkbox" name = "" value = "bacon">Tomate<br>
<input type = "checkbox" name = "" value = "bacon">Alface<br>
<input type = "checkbox" name = "" value = "bacon">Salsicha<br>
<input type = "checkbox" name = "" value = "bacon">Presunto<br>
</div>
</div>
</div>
</div>
These buttons when used in Chrome do absolutely nothing. When I go to firefox, they work.
Can anyone tell me why this is so?
NOTE: I can not use this system in firefox because other things happen bugs in it