Posted by Ian Collins on 10/19/03 11:44
David Virgil Hobbs wrote:
> Loading text strings containing HTML code into an HTML parser in a
> Javascript/Jscript
>
> I would like to know, how one would go about loading a text string
> containing HTML code, so as to be able to use javascript or Jscript to
> work with the HTML code in the text string, in the same way that one
> works with XML code in a text string using the XML parser.
>
Have you tried creating a DOM element and setting it's innerHTML to your
string?
--
Ian Collins.
Navigation:
[Reply to this message]
|