I have an AJAX poller that i downloaded from http://www.dhtmlgoodies.com/index.html?whichScript=ajax-poller. Here is the problem. I'm trying to add it to my website, but i'm getting javascript errors when I do. I've tryed a few things. 1) I tryed running it within the <body> tag. and it worked fine. 2) I added a <div> and it worked fine again. 3) I added another <div> [code would be]<body><div><div>(script code here) , but this doesn't work. For some reason when it's in the 2nd div it doesn't work properly. :\ Get a javascript error " 'length' is null or not an object." Can anyone help me out with this?
Are you getting a line number with that error? Check to see where you're trying to access something.length and figure out whether or not that something is defined at that point.