0
I need to call functions in html without a button, calling when a part of the html code is executed. with the button I already did, it looks like this :
<input type="button" value="Nome do botão" onclick="nomeDaFuncao();" />
wanted to call the same event that this button does, but only when a part of the code is executed
What do you mean "calling HTML functions without a button"? you can join in Javascript
nomeDaFuncao();
and that runs the right function?– Sergio
Did you want to run something when a part of HTML is charged? If that’s it, put it on
<script>nomeDaFuncao();</script>
after the relevant HTML snippet.– bfavaretto
vlws man, that was it ;) Thank you very much
– Ruan Nawe