0
Good morning, you guys! I have a conflict between dropdopwn menu and modal calling a remote page.
i have a page called list.php that has the dropdown-menu and inside this a li that calls the modal by opening the form remotely.php
when I click on the menu link the modal opens normally
<ul class="dropdown-menu">
<li>
<a href="formulario.php?id=<?=$Id?>" role="button" data-toggle="modal" data-target="#modal_formulario">
Alterar
</a>
</li>
but when you close the modal using the code below, the menu simply stops working.
<a href="#" class="btn red" data-dismiss="modal" aria-hidden="true">
Fechar
</a>
I already realized that the problem is that on the two pages I have a call to bootstrap.min.js
If I remove this call from the.php form, the dropdown menu on the.php list works perfectly, opening and closing the modal ! But the inside of the.php form stop working the formulary validation effects that use bootstrap...
How to resolve this conflict ?
Are these pages online? can you pass the link? I hope I’m wrong but I think that only with these links it is difficult to discover something
– user60252
Unfortunately I can not give you access because it is an intranet of a company... but there was some doubt in the explanation ?
– Ricardo
Yeah, looking at the source code would give to study the problem better
– user60252