EasyUI Forum
May 04, 2024, 01:28:58 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: Tab's property  (Read 10025 times)
varonica
Full Member
***
Posts: 106


View Profile
« on: August 23, 2012, 01:43:10 AM »

Hi, admin
   i'm here again Cheesy and trouble with tab. All i want to achieve is to set tab's property "selected" to true using jquery!!
Example:
  
   
Code:
$('tab1').attr/prop('selected',true);


 is that correct ? or is there any method to do so ? Sad plz help me!!!! Embarrassed

Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: August 23, 2012, 02:31:53 AM »

To select a special tab panel, please call 'select' method.
Code:
$('#tt').tabs('select', 1);  // select the second tab panel
Logged
slvu
Newbie
*
Posts: 4


View Profile Email
« Reply #2 on: August 23, 2012, 03:04:19 AM »

hi, i have problems with tabs .  See http://www.jeasyui.com/forum/index.php?topic=602.0

pls help me~ thank you


To select a special tab panel, please call 'select' method.
Code:
$('#tt').tabs('select', 1);  // select the second tab panel
Logged
varonica
Full Member
***
Posts: 106


View Profile
« Reply #3 on: August 23, 2012, 05:55:39 PM »

thz for ur answer, i'll read more documentation before post question here Smiley
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!