easyui tabs 真正刷新用法
1 //刷新当前标签Tabs 2 function RefreshTab(currentTab) { 3 var url = $(currentTab.panel('options')).attr('href'); 4 $('#tabs').tabs('update', { 5 tab: currentTab, 6 options: { 7 href: url 8 } 9 }); 10 currentTab.panel('refresh'); 11 }
1 var currentTab = $('#tabs').tabs('getSelected'); 2 RefreshTab(currentTab);
不在代码中爆发,就在代码灭亡!
========================================================================