How to set the jquery ui accordion active header based on the header text?
How can i set the active accordion header by text contained in the header?..
I can get the active header text like this..
Getting all the header text:
- jQuery("#accordion h3").text();
To get the active header text:
- var text = $("#accordion h3").eq(active).text();
Is there any way to make the accordion header set to active by the header text and not the index values?..
Thanks.