Hi I m un-animating a list using this code...
function unanimate_li() {
$li.filter(':last')
.animate({
height: 'hide',
opacity: 'hide'
}, 1000, function() {
unanimate_li();
});
$li = $li.not(':last');
}
I have set up the li using this code
$li = $("ol#update > li");
$li = $li.filter(':gt(4)').filter(':lt('+ size + ')');
Now when i try to do this i cannot get the 5th li(4th on zero based) to remove It removes the sixth li The example here
And when the second time i do the update it goes on to infinite loop
I cannot understand why