I'm trying to create a clickable sub-menu with slideDown()
via jQuery.
However - hover()
is working as intended, but click()
doesn't do anything.
Here's my jQuery:
$("#n_ulist li").click(function(){
$("ul", this).stop().slideDown(500);
},
function() {
$("ul", this).stop().slideUp(500);
});
What is wrong here?