+ 2

How do I get the content under my ID "N" to show instead of [ObjectHTMLElement]?

When I use JavaScript to write what's inside my element N, all I get is my website telling me that it's an html object when I want it to just write the p element inside if it onto the screen. https://code.sololearn.com/WlJsw2nm8vpy/?ref=app

8th Apr 2018, 4:34 AM
Babydoll Scripts
Babydoll Scripts - avatar
1 ответ
+ 1
You should use N.innerHTML to get content of the N
8th Apr 2018, 5:07 AM
Damyan Petkov
Damyan Petkov - avatar