Menu
I have the following line in my HTML document:
[code]<body onLoad=”hideDD()”>
This is the function in an external JavaScript file linked in the header:
[code]function hideDD()
{
var dd = document.getElementsByTagName( ‘dd’ );
dd.style.position = ‘absolute’;
dd.style.left = ‘-9000px’;
}
I would appreciate any help with this little script. I am probably missing something glaringly obvious.
Thanks.