[thelist] Javascript methods playing up

Iain iain at firelightning.com
Sun Sep 4 15:11:09 CDT 2005


Hi guys,

Can anyone give me a rational explanation of why the following causes IE 
to choke?

    var pageTitle = 
document.getElementsByTagName('title')[0].firstChild.nodeValue;

It works perfectly in Firefox and Opera.

Thanks,

Iain



More information about the thelist mailing list