1
To change the text of a div, I do :
window.document.getElementById("CaixaPrincipal").innerHTML = Mensagem;
Now how do I change the text of a button? I tried this :
<input id = "Botao" type="button" value="Segundo Caminho" onclick = "B()">
window.document.getElementById("Botao").innerHTML = Mensagem;
But it didn’t work :/
Remembering that the button looked like this: <input id = "Boot" type="button" value="Second Path" onclick = "B()">
– Alex Junior Pereira
You do not score your questions, have no interaction with the crowd, check out the tour of the website
– novic