Get the value of a textnode which is being shown on the screen via javascript.Not very easy.

Posted by T_t on Stack Overflow See other posts from Stack Overflow or by T_t
Published on 2010-04-02T11:15:53Z Indexed on 2010/04/02 13:03 UTC
Read the original article Hit count: 118

Filed under:
|
|

I mean, assume a web page is very long and contain lots of words, now i just want to get the value of a textnode which is being shown on the screen.How could i do it? Thanks! :)

what's more: I mean, i know how to get the value of a textnode,but if a web page is very lage and contains thousands of words, what i want to do is that,only get the shown textnode of the dom tree.That means if you slither a mouse wheel,some text disappear and some come into your vision.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about dom