You are here: Re: Load HTML in text strings into HTML parser in Javascript « HTML « IT news, forums, messages
Re: Load HTML in text strings into HTML parser in Javascript

Posted by Ian Collins on 10/04/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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация