JavaScript for WordPress Forums Vanilla JavaScript DOM Quiz – Value of element nodes Reply To: DOM Quiz – Value of element nodes

Thorsten Frommen

I think what’s more confusing than the name of what you are asking for in the question is that it reads as if there are two answers that are equal (in that they produce the same result etc.).
I read the question like Which of the following are options to get THE value of element nodes?. someElement.innerHTML and someElement.outerHTML don’t return the same, though.

But that’s just me being a super-nitpicker here. 🙂