0

How to change the value of var, and how to refresh the html with button

https://code.sololearn.com/WhnOjFRLIusB/?ref=app

11th Feb 2022, 4:41 AM
Domge
Domge - avatar
8 odpowiedzi
0
https://code.sololearn.com/WGApf2VH8SIK/?ref=app
11th Feb 2022, 4:54 AM
Raul Ramirez
Raul Ramirez - avatar
+ 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
11th Feb 2022, 5:08 AM
A͢J
A͢J - avatar
+ 1
Move your line9 call inside the of the function so before the curly brace top of line 8
11th Feb 2022, 5:09 AM
Raul Ramirez
Raul Ramirez - avatar
0
You didnt call the function to display the names
11th Feb 2022, 4:51 AM
Raul Ramirez
Raul Ramirez - avatar
0
ooh, then how to call the function? i dont realy understand about js
11th Feb 2022, 4:52 AM
Domge
Domge - avatar
0
myFunction1(); Put it at end of file And also inside the other function
11th Feb 2022, 4:53 AM
Raul Ramirez
Raul Ramirez - avatar
0
still not working oh it works, but the value doesnt change
11th Feb 2022, 4:56 AM
Domge
Domge - avatar
0
Raul Ramirez niceeeee, i know now how to make it, tnx for explain it, and tnx again
11th Feb 2022, 10:55 AM
Domge
Domge - avatar