Posts by Caio Rodrigues • 61 points
3 posts
-
1
votes2
answers2531
viewsA: button to show/hide div
Add type="button" on the button: <button type="button" id="btnExibeOcultaDiv" class="btn btn-info" onclick="ocultarExibir();">Exibe_Oculta</button>…
-
0
votes2
answers83
viewsA: Line break in a function
A quick way and not by far the best way would be to do it: function EE(texto,ClassElemento,tempo){ var char = texto.split('').reverse(); document.querySelector(ClassElemento).innerHTML =…
javascriptanswered Caio Rodrigues 61 -
2
votes2
answers28
viewsA: Declare variable value in function call
The way your function is written, the parameter passage you want is given this way: clearSearch({ Search_r: true })