28th Feb 2020, 5:53 PM
Crazy
Crazy - avatar
4 Réponses
+ 1
what are you trying to accomplish? please explain in detail
28th Feb 2020, 6:02 PM
Mush
Mush - avatar
+ 1
By doing document.write You are replacing all the elements in the html file You should create an element Give it an ID And put your information there by using document.getElementById ("id").innerHTML = value;
28th Feb 2020, 10:16 PM
Rodrigo Sanchez
Rodrigo Sanchez - avatar
28th Feb 2020, 10:39 PM
Rodrigo Sanchez
Rodrigo Sanchez - avatar
0
You can try something like this if that's what you want https://code.sololearn.com/WMyAkZbgm9Rw
28th Feb 2020, 6:51 PM
Anurag
Anurag - avatar