R
Razzbar
What is the preferred method of removing the tagging of an element
without
removing the text? IOW, how do I turn this
<span>I want to keep this <strong>and this, too</strong> but not
strongly</span>
into this..
<span>I want to keep this and this, too but not strongly</span>
....?
Hey, don't tell me to used notepad!
I mean I want to do it
dynamically,
on the fly, in Javascript.
I rekon I can use removeNode() to remove the <strong> element and save
the
innerHTML, but then where do I put the innerHTML?
In IE, it's possible to say "... el.outerHTML = el.innerHTML " but this
isn't DOM, is it?
without
removing the text? IOW, how do I turn this
<span>I want to keep this <strong>and this, too</strong> but not
strongly</span>
into this..
<span>I want to keep this and this, too but not strongly</span>
....?
Hey, don't tell me to used notepad!
dynamically,
on the fly, in Javascript.
I rekon I can use removeNode() to remove the <strong> element and save
the
innerHTML, but then where do I put the innerHTML?
In IE, it's possible to say "... el.outerHTML = el.innerHTML " but this
isn't DOM, is it?