Thanks again richardo, here is the final script that works great
$(document).ready(function(){ var subs = $('.menu > ul ul'); subs.hide(); $('.menu > ul > li a').click(function(){ $(this).next('ul').toggle(); }); });
Thanks again richardo, here is the final script that works great
$(document).ready(function(){ var subs = $('.menu > ul ul'); subs.hide(); $('.menu > ul > li a').click(function(){ $(this).next('ul').toggle(); }); });