EasyUI Forum
December 01, 2025, 01:28:04 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: getTab not working  (Read 10012 times)
contestant
Newbie
*
Posts: 40


View Profile Email
« on: April 15, 2015, 08:18:10 AM »

Hello

"getTab" method not working for tabs plugin and return null.

examples:
var tab = $(this).tabs('getTab', index);

var tab = $(this).tabs('getTab', title);

Please guide me...

Thanks a lot
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: April 15, 2015, 06:26:27 PM »

Please refer to this documentation http://www.jeasyui.com/documentation/tabs.php
Logged
contestant
Newbie
*
Posts: 40


View Profile Email
« Reply #2 on: April 15, 2015, 11:24:19 PM »

Hi

This error occurred because the "onClose" event run after tab destroy,
So we must use this action in "onBeforeClose" event.

How ever in action "onClose" parameters not useful for get options of closed tab.

Thanks  Wink
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!