Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- $("ul#lista li").children("h2").click( function() { $(this).next("p").show("normal");
- $("ul#lista li h2").not(this).next("p:visible").hide("normal");
- });
- });
Add Comment
Please, Sign In to add comment