I'm using js to copy the innerHTML of another element that has formatting in it (pagraph, strong, underline) but when it displays, it shows the literal tags. If I use firebug and examine the element that it got copied into, it looks fine there isn't any escaped characters. If I use firebug and alter the innerHTML contents a bit, add a space and then remove it, it will display the formatting fine and not display the literal tags for formatting.
Any idea on how I can get around this problem?
example:
If I use javascript to copy
(td)This is bold(/td) innerHTML into another (td) element, it would display as
(td)This is (b)bold(/b)(/td).
Any idea on how I can get around this problem?
example:
If I use javascript to copy
(td)This is bold(/td) innerHTML into another (td) element, it would display as
(td)This is (b)bold(/b)(/td).