$( \'#xxx\' ).tabs({ select: function(event, ui) { var theSelectedTab2 = ui.index; if (theSelectedTab2 == 0) { $(\'ul li.ep_s1\').removeClass(\'ep_s1\').addClass(\'e
Trigger a click event on the first tab after page load?
Like $('first tab selector').click()
$('first tab selector').click()