javascript - jQuery puzzler - can't make slideUp/slideDown work -


with jquery , css want show first of 4 paragraphs, , add link/button @ end of first paragraph. when link/button clicked on want show other 3 paragraphs in slidedown manner , make link/button go away, , put link/button @ end can use slideup last 3 paragraphs (and have link/button disappear). sounds easy, can't figure out. here's html code have work with:

    <div class="wrapper"> <p>here first p</p> <p>here second p</p> <p>here third p</p> <p>here forth p</p> </div> 

so how can this? i've been trying hours.

try .slidetoggle(). if need more information please set jsfiddle in order find not working.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -