JavaScript JQuery Accordion:动态检索活动标签/打开

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了JavaScript JQuery Accordion:动态检索活动标签/打开相关的知识,希望对你有一定的参考价值。

// imagine the accordion is started like this:
$("#accordion").accordion({ header: 'h5', collapsible: true , active: false});


//  this gets you the index of open accordion [0.....n]
$("#accordion h5").index($("#accordion h5.ui-state-active")); 

// let's save that index.. and use it to activate/deactivate the tab
n = $("#accordion h5").index($("#accordion h5.ui-state-active"));
$('#accordion').accordion('activate', n);

以上是关于JavaScript JQuery Accordion:动态检索活动标签/打开的主要内容,如果未能解决你的问题,请参考以下文章

537. Complex Number Multiplication

537. Complex Number Multiplication

537. Complex Number Multiplication

javascript/jQuery - 啥是 jQuery.fx?

jQuery 是一个 JavaScript 库。

jquery和javascript的区别(转载自脚本之家)