Accordion - How to select header content
I am very new to jQuery, so please forgive what might be a simple question
I have a jQuery Accordion working well. I have implemented a Change event function. How do I fetch the selected header's text content? That it, how do I access the text from the <a> tag?
<
a
href
="#"
class
="ui-widget-header"> ... some text ...
</
a
>
Or, how to I access the ui.newHeader and/or ui.newContent objects
change:
function
(event, ui) {
...
}
A small code sample would be very much appreciated! Thanks.