[thelist] Javascript image function
Courtenay
court3nay at gmail.com
Wed Nov 10 10:56:34 CST 2004
innerHTML works in firefox, at least.
check www.quirksmode.org and have a look at the various compatability
tables. of particular interest is the section where he looks at the
various ways of adding elements to a table, because it covers most
browsers and the ways of referring to nodes, innerHTML, and such.
On Wed, 10 Nov 2004 10:13:46 -0500, Chris <spam at cimmanon.org> wrote:
> On Wed, 10 Nov 2004 06:35:25 -0800, Demitrius <sbdemitrius at hotmail.com>
> wrote:
>
>
>
> > ----- Original Message ----- From: "Courtenay" <court3nay at gmail.com>
> > To: <thelist at lists.evolt.org>
> > Sent: Tuesday, 09 November, 2004 00:54
> > Subject: Re: [thelist] Javascript image function
> >
> >
> >> Look into this.childNodes (or even this.innerHTML) instead of
> >> document.images.
> >>
> >>
> >> c
> >
> > Okay, thanks! But does this work for all browsers?
> >
> > -Demitrius
>
> No, it does not. Netscape 6 & 7 do not support innerHTML, and I'm quite
> certain Mozilla does not either. InnerHTML and innerText are IE
> proprietary and only a few browsers have chosen to implement them. You
> must traverse the childNodes to get what you need.
>
> --
> chris
>
>
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
More information about the thelist
mailing list