How can I get the rendered HTML inside of a <div>? (not innerHTML)

Hey SP,

I’d like to retrieve the rendered HTML inside of a <div>. To clarify, suppose I have a div which contains
<b>This is some bolded Text</b>

I want to retrieve:
This is some bolded Text

Is this kind of thing possible?

I’ve figured out I can use document.getElementById().textContent


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.