I want a simple effect of slide up and down. I'm new to jquery and I tried th following code, but it's not working
<script> $(document).ready(function() { $('#fade li:first-child').css('display','none'); $('#fade li:second-child').click(function() { $('#fade li:first-child').slideDown(); }) }) </script> Html
<ul id="fade"> <li>one</li> <li>two</li> <li>three</li> </ul> Please help, thanks