我想用标签创建手风琴,它只能通过单击 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) {});