Note that any properties not mentioned above will simply be handled by the standard jQuery $.animate() method. This plugin adds new functionality without taking any away. The idea is to simply enhance ...
$(this).next().hide(); <= .on('click') of li next li get hidden $(this).next().remove(); <= work if you want to keep deleting event listener for li include nested li and its parent li. assign class ...