Take the 2-minute tour ×

just one quick question about the select event of the jQuery UI Tabs

$( ".selector" ).tabs({

I know I can get the index of the selected tab inside the callback function by doing:


But my question is, how do I get all the properties that are available to me from the ui object? (ui.index for example is just one of them). What are the other ui.SOMETHING that are available to me for use? (apart from index, what else can SOMETHING be replaced by?)

Anybody please let me know

Thank you

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Easy to find out yourself by logging "ui" to console:

$( ".selector" ).tabs({
    select: function(event, ui) {
      console.dir( ui);
share|improve this answer
Of course, I always forget about that console thing. Thanks –  user765368 Feb 27 '12 at 3:28
add comment

Your Answer


