EasyUI Forum
November 30, 2022, 09:25:09 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: Accordion panel header text on: November 20, 2014, 08:21:15 AM
Thanks.
2  General Category / EasyUI for jQuery / Re: Accordion panel header text on: November 20, 2014, 01:46:13 AM
Thanks for the prompt reply. Where do I get more internal info like "...you can get all the options by calling the 'options' method". Do I need to do jQuery tutorials(as yet, my repertoire does not include much java, but I see and understand the object orientation.) I end up trying to guess some of the properties and methods. I have looked at the documentation, and I am either blind or this info was not there.

Cheers.
3  General Category / EasyUI for jQuery / Accordion panel header text on: November 20, 2014, 12:47:07 AM
Hi,

How do I do the following, but instead of returning the panelIndex, I need the panel header text

var p = $('#aa').accordion('getSelected');
if (p){
   var index = $('#aa').accordion('getPanelIndex', p);
   alert(index);
}

Regards,
Dion
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!