[Greasemonkey] nodeValue
Zoolcar9 (LouCypher)
zoolcar9 at gmail.com
Tue Dec 27 22:51:51 EST 2005
Try
if(td[i].hasAttribute("class") && td[i].className == "tlightred") {
On 12/23/05, Tobias Orterer <orterer at gmail.com> wrote:
>
> hi,
>
> one of my scripts does not work in 0.6.4:
> if( td[i].attributes["class"] && td[i].attributes["class"].nodeValue
> == "tlightred" ) {
> does not match with:
> <td class=tlightred id=noimg nowrap>
> in 5.3 it worked... has something changed with the DOM?
>
>
> greets,
> tobsn
>
>
>
> --
> PGP: 1D87 2E28 B3A5 EEAE 19EB 01C1 ED45 5B31 39AA 1669
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>
--
LouCypher
More information about the Greasemonkey
mailing list