These are chat archives for nodejs/nodejs-ru

12th
Nov 2016
maximilianomonzon
@maximilianomonzon
Nov 12 2016 06:06
Hi, sorry i need help urgently
The problem I have is that I can not access the "onclick" property of the buttons and it does not redirect me to the function that I specify
input(type="submit", name="accion", onclick='jugadas()', value='Quiero')
script.
function jugadas (){
alert('Hi world');
}
But, never execute the alert
I removed the sentences that are obvious
I am doing something wrong in the javascript syntax?