4 ms·
I'd do this: document.getElementsByClassName("externalLinkBig")[0].setAttribute( "class", "externalLinkSmall" );
by simonw 17y ago
I'd do this:
document.getElementsByClassName("externalLinkBig")[0].setAttribute(
"class", "externalLinkSmall"
);