The code works fine for me... Are you really sure that you're using 1.3? --Klaus
On 4 Feb., 17:48, CMS <[email protected]> wrote: > Hello Klaus, > > i have a problem with jquery1.3 and jQuery UI Tabs 1.6rc6. > with jquery 1.2.6 and jQuery UI Tabs 1.5.2 all was fine. > > Here we go: > I want to select the newly added tab. This is my code: > > var $tabs = $("#businessCaseTabs > ul").tabs({ > add: function(e, ui) { > console.log("Event when tab was added: " + ui.index); > setTimeout(function(){$tabs.tabs('select', ui.index)},1000); > } > > }); > > But the tab is not selected, even the message is not logged to > firebug. > In ui.core.js the event is fired from the trigger in line 358 > _trigger: function(type, event, data) { > but my "event listener" does not seem to be able to get to know the > event. > > What can i do? > Regards, > Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
