/ Published in: jQuery

By omitting [end] it will remove all to the end. Set an [end] with a negative value to count back from the end of the elements. fadeOut is unnecessary.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('ul li').slice(start, [end]).fadeOut('slow').remove();
Comments
