Get element's innerHtml without element's tags?
How can I get the raw HTML of an element, not include the tags of that element? For example, if i were getting
, and body looks like this: stuff in bodyHow can I get only:
stuff in body
Currently the raw property includes the tags of the target element itself.
Your question doesn't seem to make sense? Can you post the HTML code you are looking at? I may be able to help you.
It's been awhile so I've moved to another solution, but when using Hpple if I wanted the innerHTML of body, I'd get "[body]all of body's content here[/body]" not just "all of body's content here", which is what innerHTML is technically supposed to give.
In my original question the tags where stripped out, leading to your confusion.