06-30-2010, 11:39 PM
|
#2 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
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.
|
|
|
|