PDA

View Full Version : Simple Tree Menu Javascript Error



carteray
10-16-2006, 06:25 PM
Hi,

I have added the simple tree menu script to my site and continue to receive an javascript error for this line of code in simpletree.js:

var ultags=document.getElementById(treeid).getElementsByTagName("ul")

the error states that document.getElementById() is null or not an object


Please help.

ddadmin
10-16-2006, 08:12 PM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question. You should also be posting any DD script related questions in the "DD scripts help" forum. Moving thread.

carteray
10-17-2006, 12:34 PM
Here is where I accessed the code: http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

Sorry for placing it in the wrong area...since it was a javascript error I assumed it should go in the javascript section.