jQuery easyui刷新當前tabs


更新特定的選項卡面板 可使用update方法,param參數包含2個屬性:

tab: 將被更新的選項卡。

options: 選項卡相關配置項。

 

Example:

 

//當前tab
var current_tab = $('#frame_tabs').tabs('getSelected');
$('#frame_tabs').tabs('update',{
     tab:current_tab,
     options : {
          content : '<iframe scrolling="auto" frameborder="0"  src="'+URL+'" style="width:100%;height:100%;"></iframe>',
	  //或者 href : '';
     }
});


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM