Hi there,

is there a cross-browser function for retrieving the text content of
an element?

If I have an element like

<span id="test">4711</span>

I get the number 4711 in IE with $("test").innerText and in FF with $
("test").textContent - does Prototype provide a browser-independent
abstraction for this?

Regards,
Rüdiger

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to