View Single Post
Old 06-30-2010, 11:39 PM   #2 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

You're attaching your event handler to the H3 element, when the click should be occuring on one of the two LI elements in your parent unordered list, no?

javascript Code:
$("ul#answers li").click(function() {
         $(this).next("ul").show();
});

Add an element id to the parent UL and try something like the above.
delayedinsanity is offline  
Reply With Quote