我想创建带有标签的手风琴,只有点击ui-triangle,而不是所有的ui-header才能展开/折叠。我怎么能这样做?
我的代码
$("#accordion").accordion({ collapsible: true, heightStyle: "content", autoHeight: false, active: false, event: false });
$(".ui-icon").live("click", function () {
//I need this code
});
$("#accordion").bind("accordionchangestart", function (event, ui) {});