Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] innerHTML
- From: javascript@xxxxxxxxxx (hormuz maloo)
- Subject: [Javascript] innerHTML
- Date: Thu, 23 Aug 2001 10:11:28 +0530
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C12B8D.DFD50FB0 Content-Type: text/plain; charset="iso-8859-1" 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. Thanks in advance, Hormuz Date: Mon, 20 Aug 2001 08:44:36 -0700 Subject: Re: [Javascript] getting text from another page From: Ben Curtis <Quixote@xxxxxxxxxxxx> To: <javascript@xxxxxxxxxx> Reply-To: javascript@xxxxxxxxxx > I need to grab some text from one HTML page and put it on another. > > The text conveniently sits inbetween some tags called <!-- > lymmtemp --> <!-- lymmtempend --> > > How do I go about getting this text on another html page? >I would suggest going server-side with this; PHP, Perl, ASP, or ColdFusion >would do nicely. If, for some reason, you *need* to do this clientside, then >you will need to make sure the two pages are in the same domain. With IE or >N6 you can then get the innerHTML of the page, and use a regular expression >to find the relevant string. Could be a lot of work or piece of cake. Good >luck. >-- >+Ben Curtis >"One of the symptoms of an approaching nervous breakdown >is the belief that one's work is terribly important." >- Bertrand Russell (1872-1970) ------_=_NextPart_001_01C12B8D.DFD50FB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>innerHTML</TITLE> </HEAD> <BODY> <BR> <P><FONT SIZE=3D2>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=3D2>Thanks in advance,</FONT> <BR><FONT SIZE=3D2>Hormuz</FONT> </P> <P><FONT SIZE=3D2>Date: Mon, 20 Aug 2001 08:44:36 -0700</FONT> <BR><FONT SIZE=3D2>Subject: Re: [Javascript] getting text from another = page</FONT> <BR><FONT SIZE=3D2>From: Ben Curtis <Quixote@xxxxxxxxxxxx></FONT> <BR><FONT SIZE=3D2>To: <javascript@xxxxxxxxxx></FONT> <BR><FONT SIZE=3D2>Reply-To: javascript@xxxxxxxxxx</FONT> </P> <BR> <P><FONT SIZE=3D2>> I need to grab some text from one HTML page and = put it on another.</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> The text conveniently sits inbetween some tags = called <!--</FONT> <BR><FONT SIZE=3D2>> lymmtemp --> <!-- lymmtempend = --></FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> How do I go about getting this text on another = html page?</FONT> </P> <BR> <P><FONT SIZE=3D2>>I would suggest going server-side with this; PHP, = Perl, ASP, or ColdFusion</FONT> <BR><FONT SIZE=3D2>>would do nicely. If, for some reason, you *need* = to do this clientside, then</FONT> <BR><FONT SIZE=3D2>>you will need to make sure the two pages are in = the same domain. With IE or</FONT> <BR><FONT SIZE=3D2>>N6 you can then get the innerHTML of the page, = and use a regular expression</FONT> <BR><FONT SIZE=3D2>>to find the relevant string. Could be a lot of = work or piece of cake. Good</FONT> <BR><FONT SIZE=3D2>>luck.</FONT> </P> <P><FONT SIZE=3D2>>--</FONT> <BR><FONT SIZE=3D2>>+Ben Curtis</FONT> </P> <P><FONT SIZE=3D2>>"One of the symptoms of an approaching = nervous breakdown</FONT> <BR><FONT SIZE=3D2>>is the belief that one's work is terribly = important."</FONT> <BR><FONT SIZE=3D2>>- Bertrand Russell (1872-1970)</FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C12B8D.DFD50FB0--
- Follow-Ups:
- [Javascript] innerHTML
- From: Lau
- [Javascript] innerHTML
- Prev by Date: [Javascript] doing totals of form values client side-examples - Solved
- Next by Date: [Javascript] innerHTML
- Previous by thread: [Javascript] doing totals of form values client side-examples - Solved
- Next by thread: [Javascript] innerHTML
- Index(es):