1
내가 그렇게 할 괜찮나 내가 새 탭을 클릭하면 내가 이전에 활성 탭을 선택해야
를 선택하세요?JQuery와 UI 탭 이전 탭
를 선택하세요?JQuery와 UI 탭 이전 탭
$('#edit_tabs').tabs( {
selected: 2, // which tab to start on when page loads
select: function(e, ui) {
var t = $(e.target);
alert("selected is " + t.data('selected.tabs'))
// Index of the PREVIOUSLY selected tab
return true;
}
});