EasyUI Forum
September 13, 2025, 04:37:00 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: easyui-tabs ( refresh inner page )  (Read 16793 times)
ehussain
Newbie
*
Posts: 16


View Profile Email
« on: September 29, 2014, 04:17:58 AM »

 <div id="mytab" class="easyui-tabs" data-options="tools:'#tab-tools'" style="width:1350px;height:780px; font-family:Eras Demi ITC;">
      
            <div title="Advertise" data-options="href:'page1.php',closable:false"></div>
                <div title="Advertise via SMS" data-options="href:'page2.php',closable:false"></div>
                <div title="Campaign Response" data-options="href:'page3.php',closable:false"></div>
</div>

How to refresh or reload inner page click on any tab?

Ejaz
Logged
jarry
Administrator
Hero Member
*****
Posts: 2298


View Profile Email
« Reply #1 on: September 29, 2014, 07:24:03 AM »

To refresh a tab panel, call 'getTab' method to get the specified tab panel and then call 'refresh' method on this panel. The code below shows how to refresh page content of the first tab panel.
Code:
var p = $('#tt').tabs('getTab', 0);  // get the first tab panel
p.panel('refresh');
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!