I realize now that this was very specific to my project, and I got this to work.
Since i am loading all the elements of my page with AJAX, I had to wait for the tabs to be fully loaded, then simply add the content for each fragment. It is a shame that there is no onClick or onShow fired for the first tab when the tabs() function is complete so that we could support lazy loading for the tab content, including the first tab. BTW, I think it would be nice if there was a function defined $.fn.selectedTab(). I would try to write it myself, but I am still a little overwhelmed by the code. ----- Original Message ---- From: Ariel Jakobovits <[EMAIL PROTECTED]> To: jquery-en@googlegroups.com Sent: Thursday, April 5, 2007 12:54:12 AM Subject: [jQuery] tabs - initial tab load i have a handler for the tabs onShow event that loads the current tab being opened. this does not get executed for the first tab that is selected by default when the page first loads. how can i get the onShow event to be triggered for the initial tab?