Posts by Ricardo Aranha • 16 points
2 posts
-
0
votes1
answer40
viewsA: BD data via AJAX
As Sam said, you should return the result at once, or javascript won’t be able to process the return correctly. You can do something like: <?php include "conexao.inc"; $result_usuarios = "SELECT…
-
0
votes1
answer519
viewsA: Call modal window inside php code
Like Sam said, to specifically display a modal, you use $('seletor').modal('show'). The .modal('toggle') probably would work in this case, but the problem I see is that the Bootstrap Javascript…