答案 0 :(得分:1)
$( ".selector" ).accordion({ active: 2 });
答案 1 :(得分:0)
查看此链接并打开选项标签可能会帮助您
http://jqueryui.com/demos/accordion/#option-active
Initialize a accordion with the active option specified.
$( ".selector" ).accordion({ active: 2 });
Get or set the active option, after init.
//getter
var active = $( ".selector" ).accordion( "option", "active" );
//setter
$( ".selector" ).accordion( "option", "active", 2 );
答案 2 :(得分:0)
根据文档,你不能用手风琴同时打开两个标签。