0

I created some tabs in my page using idTabs jquery plugin. There are couple of tables inside the tabs that getting rendered using ajax calls. Now I need to make the tables scrollable and I am trying to do that using jquery tableScroll widget. So my function for the scrolling needs to be called after the tab is ready and visible (because it need to read the height of table). How can I determine the situation of a tab? I mean is there any call back function for that? I tried document.ready and window.load but apparently I need to tell the function that the tab is ready and visible before call it. Can anybody help?

Nisman
  • 1,271
  • 2
  • 26
  • 56

1 Answers1

0

Check out http://api.jqueryui.com/tabs/#event-create

$( ".selector" ).tabs({
  create: function( event, ui ) {}
});
jwerre
  • 9,179
  • 9
  • 60
  • 69