0

How to acces .innerHTML from object

I tried accessing innerHTML from a predefined object​ method. It didn't work. (Not inside SoloLearn, in Editey) How would I access it?

31st May 2017, 3:40 AM
TheCoder
TheCoder - avatar
2 Answers
0
I meant if I had that in an object, like this: https://code.sololearn.com/W6kUHNxnV9jZ/?ref=app
1st Jun 2017, 2:56 PM
TheCoder
TheCoder - avatar
0
I see... try to put hello between quotation marks ==> doc.id("hello") I tested like this way and it worked well.
1st Jun 2017, 3:22 PM
DamiĂŁo Brito
DamiĂŁo Brito - avatar