Ah. Thanks very much! On Aug 29, 7:15 am, Brian Schilt <[EMAIL PROTECTED]> wrote: > This is very easy to do with the current version of ui.tabs. The tabs > documentation page (http://docs.jquery.com/UI/Tabs#Events) has a > section on the tab events. Its here where you can grab the tab label, > or tab text. Use the below code to bind the tabselect event to the > tabs. This is fired each time a tab is clicked. This event is passed > the ui object which contains the tab label. > > $('.ui-tabs-nav').bind('tabsselect', function(event, ui) { > alert('tab label ' + ui.tab.text()); > > }); > > Brian > > On Aug 28, 6:51 pm, Brandon Jones <[EMAIL PROTECTED]> wrote: > > > Hello, my first post to the jQuery UI discussion group. Gawd I feel > > like such a newb with that statement, but... > > > I just recently started using jQuery to make webpages as a hobby, and > > I'm currently experimenting with tabs. I'm generating the tabs > > dynamically, and am attaching them to dynamically generated divs that > > contain tables, again with their own dynamic generation. The ID's of > > these divs are generated with the name of whatever data they're > > grouping, and this is also the same as the text in the label of the > > tab connected with it. What I'd like to know, or if there's no way > > that you know to do it suggest for a future version of the UI, is if > > there's a way to get the text of the tab label that is currently > > selected, or of a particular index, whatever. > > > Thanks... and if you need a better explanation, just ask. I probably > > didn't communicate that as well as I wanted to.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
