Oops my bad. I didn't google, of course.. I just have found that when coding
for IE (I mostly do intranet apps where firefox isn't standard, sadly) that
node.value doesn't always contain what you expect and it's better to use the
text property. The equiv to innerHTML, unparsed would be .xml on a node,
wouldn't it?



On 5/15/07, RobG <[EMAIL PROTECTED]> wrote:
>
>
> On May 15, 7:20 pm, "Gareth Evans" <[EMAIL PROTECTED]> wrote:
> > try innerText, the dom implementation could be different for nodeValue
>
> Firefox doesn't support IE's proprietary innerText property, it
> supports the W3C equivalent: textContent.  Neither are equivalent to
> innerHTML.
>
> --
> Rob
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to