Rob Smith wrote: >>try quotes: >>document.getElementById("submenu") > > > Via function toggleSub(submenu) { > submenu is a parameter. Adding double quotes threw another error that it > wants the object called "submenu". oops, didin't realize this was a function. i looked quick and took it for a form element name.