Posts by Arthur Monteiro • 29 points
3 posts
-
-1
votes2
answers30
viewsA: How to hide and enable a table line?
Hello, instead of block, put table-Row. I hope I helped Document.getElementById(el).style.display = 'table-Row'; function Mudarestado(el) { var display = document.getElementById(el).style.display;…
-
0
votes4
answers949
viewsA: Change select element value (Ajax + php) with innerHTML
Hello, I would change some things, simple things. In your PHP I would return an array of cities, it would look something like this: <?php $response = []; if (isset($_POST["cd_estado"])) {…
-
3
votes1
answer27
viewsA: I can’t redirect the page after logging in!
Hello, you need to use preventDefault(); preventDefault will make your form not submit and you do what you want within the function. Your Ubmit function would look like this: //Coloque em sua função…