Showing posts with label Scriptalicious Tree is null or not an object line 935 debug internet explorer ie. Show all posts
Showing posts with label Scriptalicious Tree is null or not an object line 935 debug internet explorer ie. Show all posts

Sunday, February 22, 2009

Scriptalicious Tree is null or not an object line 935 - Internet Explorer only

For some reason my scriptalicious ajax code works beautifully for dragging and dropping in firefox but when it comes to Internet Explorer I'm getting a weird error:

'tree' is null or not an object at line 935Here's line 935: if (options.tree) {

I'm still trying to figure out what is going on...

**** fixed it. The problem was I had another element on the page with a name="x" and my draggable item had id="x". So since there was a conflict the error occurred.

Solution: Check to see if the id is unique (also not used as a name value).