---------- Forwarded message ----------
From: Priyank Bolia
Date: Fri, May 9, 2008 at 10:19 PM
Subject: Re: Firefox API to replace text with HTML
To: "Eric H. Jung"


but innerhtml will also contain something like: hello
and I don't want to change that alt value. Also parsing the whole thing and
based on the element node is too much work, as I have to do that repeatedly,
so that would decrease the performance.
Thanks,
Priyank


On Fri, May 9, 2008 at 9:26 PM, Eric H. Jung wrote:

>
>
> ----- Original Message ----
> > From: Priyank Bolia
> > To: dev-extensions@lists.mozilla.org
> > Sent: Friday, May 9, 2008 10:22:20 AM
> > Subject: Re: Firefox API to replace text with HTML
> >
> > Ya, the DOM API, but then I have to parse the DOM stuff, to make sure

> that
> > the text is part of visible stuff, and not part of like image alternate
> > text. So, this is a very tricky thing. Or am I missing something.
> > Thanks,
> > Priyank

>
> You can also use .innerHTML on any element to update its content:
> http://developer.mozilla.org/en/docs...ment.innerHTML
>
>
>
> __________________________________________________ __________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i...Dypao8Wcj9tAcJ
> _______________________________________________
> dev-extensions mailing list
> dev-extensions@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-extensions
>