Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

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 =
&quot;innerHTML&quot;. 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 &lt;Quixote@xxxxxxxxxxxx&gt;</FONT>
<BR><FONT SIZE=3D2>To: &lt;javascript@xxxxxxxxxx&gt;</FONT>
<BR><FONT SIZE=3D2>Reply-To: javascript@xxxxxxxxxx</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&gt; I need to grab some text from one HTML page and =
put it on another.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; The text conveniently sits inbetween some tags =
called &lt;!--</FONT>
<BR><FONT SIZE=3D2>&gt; lymmtemp --&gt; &lt;!-- lymmtempend =
--&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; How do I go about getting this text on another =
html page?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&gt;I would suggest going server-side with this; PHP, =
Perl, ASP, or ColdFusion</FONT>
<BR><FONT SIZE=3D2>&gt;would do nicely. If, for some reason, you *need* =
to do this clientside, then</FONT>
<BR><FONT SIZE=3D2>&gt;you will need to make sure the two pages are in =
the same domain. With IE or</FONT>
<BR><FONT SIZE=3D2>&gt;N6 you can then get the innerHTML of the page, =
and use a regular expression</FONT>
<BR><FONT SIZE=3D2>&gt;to find the relevant string. Could be a lot of =
work or piece of cake. Good</FONT>
<BR><FONT SIZE=3D2>&gt;luck.</FONT>
</P>

<P><FONT SIZE=3D2>&gt;--</FONT>
<BR><FONT SIZE=3D2>&gt;+Ben Curtis</FONT>
</P>

<P><FONT SIZE=3D2>&gt;&quot;One of the symptoms of an approaching =
nervous breakdown</FONT>
<BR><FONT SIZE=3D2>&gt;is the belief that one's work is terribly =
important.&quot;</FONT>
<BR><FONT SIZE=3D2>&gt;- Bertrand Russell (1872-1970)</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C12B8D.DFD50FB0--