Conflict between Modal (calling remote page) and dropdown-menu

0

Good morning everyone! I am having a conflict between the dropdopwn menu and the modal calling a remote page.

I have a page called list.php which has the dropdown-menu and inside this one li calling the modal opening the remote form.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>

However when closing 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 noticed that the problem is that on the two pages I have a call to bootstrap.min.js

If I remove this call from the form.php, the dropdown menu that is in list.php works perfectly, opening and closing the modal! But the ones inside the form.php stop the form validation effects that use the bootstrap ...

How to resolve this conflict?

    
asked by anonymous 09.07.2017 / 16:07

0 answers