Monday, 15 April 2013

javascript - jQuery Accordion know when panel finished opening -



javascript - jQuery Accordion know when panel finished opening -

i using jquery accordion , need know when panel has finished loading. understand need bind accordionchange event, confused there how know when panel has opened.

if set alert() within function show after panel has opened, shows after panel closed:

$("#campaigns").accordion({ event: 'click', active: false, collapsible: true, autoheight: false, heightstyle: "content" }).bind("accordionchange", function(event, ui) { alert('panel opened , closed'); });

how can know when panel has finished opening?

http://api.jqueryui.com/accordion/#event-activate - @ event - triggered when panel activated (opened).

javascript jquery jquery-ui jquery-accordion

No comments:

Post a Comment