Hi:

I can obtain the active panel using:

"var myactive = $('#accordion').accordion('option', 'active');"

If i wish to obtain the active panel H3 text assigned to that panel
how do i do it. I've tried:

var mytitle = document.getElementById('accordion');
var paneltitle = mytitle[myactive].textContent;

I obviously have the nodes wrong. I can see that the H3 has a span
followed by a href but there must be a way of addressing the text
value assigned to the H# panel header.


TIA

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.


Reply via email to