You don't have to specify any params for parent(). Try this:

$(this).parent().hide();

if that doesn't work, try changing using css

$(this).parent().css('display', 'none');

Also check out jQuery UI (jqueryui.com), it has tabs and accordion
elements already made and ready to use.


Reply via email to