[Greasemonkey] nodeTree...

Nic Ferrier nferrier at tapsellferrier.co.uk
Thu Jul 14 00:55:14 EDT 2005


Tobias Orterer <orterer at gmail.com> writes:

> <td>Test <b><b onmousemove="setMisc(1);"
> onmouseout="setMisc(0);"><font class=green>Foo</font></b></b></td>
>
> anyone an idea to get the Foo?
> i tried 
> td.childNodes[1].childNodes[0].childNodes[0].childNodes[0].nodeValue;
>
> td. is the td element... td.childNodes[0].nodeValue is "Test"...

Use xpath?


Nic


More information about the Greasemonkey mailing list