-1
안녕하세요.Jquery UI 탭 확장 이벤트
페이지의 모든 탭에서 이러한 이벤트를 적용하고 싶습니다. 어떻게해야합니까?
activate: function (event, ui) {
var $t = ui.newPanel.find('table');
// make sure there is a table in the tab
if ($t.length) {
if ($t[0].config) {
// update zebra widget
$t.trigger('applyWidgets');
} else {
// initialize tablesorter
$t.tablesorter({
theme: 'black',
widgets: ["zebra"]
});
}
}
}
Thx 많은 m8, 매력처럼 작동합니다. – user988037
YW. 사람들이 문제를 해결했다는 것을 알 수 있도록 답변을 수락 한 것으로 표시하십시오. :) – Scimonster