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);

 

posted @ 2015-04-02 16:08  Risfeng  阅读(24310)  评论(0编辑  收藏  举报