Search code examples
jqueryuser-interfaceinternet-explorer-6

object doesn't support this action in IE6 with jQuery


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.


Solution

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