<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>innerHTML</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=2>Can somebody please elaborate a little on "innerHTML". I have heard it mentioned at various places. What does it do exactly? Is it part of JavaScript, CSS, or what? Will appreciate a short summary or some good links on the topic.</FONT></P>
<P><FONT SIZE=2>Thanks in advance,</FONT>
<BR><FONT SIZE=2>Hormuz</FONT>
</P>
<P><FONT SIZE=2>Date: Mon, 20 Aug 2001 08:44:36 -0700</FONT>
<BR><FONT SIZE=2>Subject: Re: [Javascript] getting text from another page</FONT>
<BR><FONT SIZE=2>From: Ben Curtis <Quixote@LaMancha.org></FONT>
<BR><FONT SIZE=2>To: <javascript@latech.edu></FONT>
<BR><FONT SIZE=2>Reply-To: javascript@LaTech.edu</FONT>
</P>
<BR>
<P><FONT SIZE=2>> I need to grab some text from one HTML page and put it on another.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> The text conveniently sits inbetween some tags called <!--</FONT>
<BR><FONT SIZE=2>> lymmtemp --> <!-- lymmtempend --></FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> How do I go about getting this text on another html page?</FONT>
</P>
<BR>
<P><FONT SIZE=2>>I would suggest going server-side with this; PHP, Perl, ASP, or ColdFusion</FONT>
<BR><FONT SIZE=2>>would do nicely. If, for some reason, you *need* to do this clientside, then</FONT>
<BR><FONT SIZE=2>>you will need to make sure the two pages are in the same domain. With IE or</FONT>
<BR><FONT SIZE=2>>N6 you can then get the innerHTML of the page, and use a regular expression</FONT>
<BR><FONT SIZE=2>>to find the relevant string. Could be a lot of work or piece of cake. Good</FONT>
<BR><FONT SIZE=2>>luck.</FONT>
</P>
<P><FONT SIZE=2>>--</FONT>
<BR><FONT SIZE=2>>+Ben Curtis</FONT>
</P>
<P><FONT SIZE=2>>"One of the symptoms of an approaching nervous breakdown</FONT>
<BR><FONT SIZE=2>>is the belief that one's work is terribly important."</FONT>
<BR><FONT SIZE=2>>- Bertrand Russell (1872-1970)</FONT>
</P>
</BODY>
</HTML>