14th Mar 2021, 5:01 PM
Yvan Peter
Yvan Peter - avatar
3 Respuestas
+ 1
if you want to run your function from onclick attribute, you should add parenthesis. if you assign onclick property (dynamically trough js rather than hardcoded in attribute), you should NOT put parenthesis... anyway, your js code is invalid: var x id="first" var y id="last" each var must have only one identifier (name without space)... not sure of what you are trying to do, so you must correct that by yourself ^^
14th Mar 2021, 5:23 PM
visph
visph - avatar
0
Thanx
14th Mar 2021, 5:32 PM
Yvan Peter
Yvan Peter - avatar
0
Someone can advise me about javascript please?
15th Mar 2021, 12:13 AM
Yvan Peter
Yvan Peter - avatar