In IE8, the line $liElement.animate({left:0},500);
breaks the page with an "Object doesn't support this property or method" error. $liElement
is the jQuery object I get from $('#mydiv li').eq(0);
$liElement.animate({},500);
does not cause an error.
I am using jQuery 1.5.1. How can I fix this?