0
什麼是jquery ui選項卡語法:tabname(不是索引)..這是獨立的,但我想 將它與其他.tabs部分結合使用:jquery選項卡如何使用tabname使用select來設置默認選項卡:
$("#Maintabs").tabs("select", "#Maintabs-1"); // set default tab
我想包括它在我現有的.tabs部分,但不知道語法:
$('#Maintabs').tabs({
selected: 1, // this is where I would like set by tabname NOT index
select: function (event, ui) {
var url = $.data(ui.tab, 'load.tabs');
location.href = url;
return false;
}
}
});