0
How to change the value of var, and how to refresh the html with button
8 Réponses
0
https://code.sololearn.com/WGApf2VH8SIK/?ref=app
+ 2
Domge
Make another function and call that function in other functions to display value.
Make global variables for name and lastname then store value to use on your name button
https://code.sololearn.com/Wcjmi3Z1kxZn/?ref=app
+ 1
Move your line9 call inside the of the function so before the curly brace top of line 8
0
You didnt call the function to display the names
0
ooh, then how to call the function?
i dont realy understand about js
0
myFunction1();
Put it at end of file
And also inside the other function
0
still not working
oh it works,
but the value doesnt change
0
Raul Ramirez niceeeee, i know now how to make it, tnx for explain it, and tnx again