Call a JavaSript function from an html code. Note: The JavaScript code is in the same file.

0

I need to call functions in html without a button, calling when a part of html code is executed. with the button I already did, it looks like this:

<input type="button" value="Nome do botão" onclick="nomeDaFuncao();" />

I wanted to call the same event that this button does, but only when a part of the code was executed

    
asked by anonymous 26.10.2015 / 21:04

0 answers