$('#tabcontent > ul').tabs().bind('load.ui-tabs', function(e, ui) { // do something after content has been loaded });
http://docs.jquery.com/UI/Tabs#Events --Klaus On Mar 7, 9:57 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using Jquery tabs from here > --http://www.stilbuero.de/2006/05/13/accessible-unobtrusive-javascript-.... > I'm using the AJAX feature so that clicking on a tab loads content > from another page on my server. How do I set up an event handler so > that when the content loads into the tab, the event handler is fired? > > Thanks, - Dave > > Here's my code so far ... > > var tabSelected = $('#tabcontent > > ul').tabs().bind('select.ui-tabs', function(e, ui) > { > ... > }).bind('show.ui-tabs', function(e, ui) { > ... > }).data('selected.ui-tabs');