i follow the Jquery UI documentation, use the following code to get
the index:
var $tabs = $('#example').tabs();
var selected = $tabs.tabs('option', 'selected');

but, when i  alert(selected),  it return the object, not return the
index of the selected tab?
why?

Thanks for your help!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery-ui@googlegroups.com
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to