i don''t know how the support for .textContent is but I have used this
with
success:
var innerText = element.innerText || element.innerHTML.stripTags();
Martin
On 8/8/06, Sam <sam.google-Uc2IQQBAS6sAvxtiuMwx3w@public.gmane.org>
wrote:>
> Any info on how good/bad/ugly is the cross-browser support for:
>
> var sText = obj.innerText || obj.textContent;
>
> Sam
>
>
>
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
--
burnfield.com/martin
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs