get textNode of a elementNode of a web page via javascript
- by T_t
In a web page,i want to get every visible text in a textnode.I don't want to put all the result into one array.I mean, when i meet a visible text, i will do something else.
How could i achieve it?