views:

137

answers:

3

For some reason the following line of javascript is giving me an error object doesn't support this action in IE6:

item = ui.item.get(0);

Any ideas? I'm completely lost.

A: 

Could it be that ui is null? Or that ui.item is null?

Jeff Ober
A: 

ui.item is a single DOM element. No need for the get() call.

Jeremy Ross
A: 

Internet Explorer hates it when you use the word "item" as variable name. Change it to something else.

Mike