Error: document.getElementById(foo) has no properties
I'm getting this error on my site with 1,7rc3
Error: document.getElementById(foo) has no properties
relating to this line:
if( document.getElementById(foo).style.display == "none") {
Any ideas?
I'll give a link to my site if you wish to see it.
Rob