Returns version of the jAccordion plugin.
1) Method can be called inside every callback function (as demonstrated in demo 1):
this.getVersion();
2) In case there is only one element matching the selector, method can be called anywhere in your code (as demonstrated in demo 2):
$('selector').data('jAccordion').getVersion();
3) In case there are more elements matching the selector, method can be called anywhere in your code (eq(index) specifies index of accordion instace):
$('selector').eq(index).data('jAccordion').getVersion();
Demo 1 demonstrates how to call the described method inside callback function ready() (the protocol is the same for all callback functions). Message indicating when accordion is ready is displayed below accordion.
Demo 2 demonstrates how to call the described method anywhere in your code.
jAccordion by maniacpc, exclusively for CodeCanyon