bapp14.indd 02/17/2015 Page 585
Accordion
METHOD DESCRIPTION RETURN VALUESHOWING AND HIDING
METHODSaccordion(options) Makes the selected elements into accordions
(see “Accordion Options”).jQueryaccordion('destroy') Destroys the selected accordion. jQueryaccordion('disable') Disables the selected accordion. jQueryaccordion('enable') Enables the selected accordion. jQueryaccordion('option') Returns an object containing all the options
and their values.Objectaccordion('refresh') Recalculates accordion panels, headers, and
heights after modifying an accordion.jQueryaccordion('widget') Returns a jQuery object that contains the
accordion.jQuery