Reputation: 35
How do you completely hide a JQuery accordion? Everything I can find when searching only explains how to collapse and expand the accordion. Not how to make it disappear completely.
I want to completely hide the accordion...not just collapse it.
When I do this... $("#accordionName-" + tabId).accordion.hide();
I get this error...
Client Message: Uncaught TypeError: $(...).accordion.hide is not a function
Upvotes: -1
Views: 59
Reputation: 35
This is what ultimately did it (needed parentheses after accordion):
$("#accordionName-" + tabId).accordion().hide();
Upvotes: 0