I know this is an old question. But I think the way to change the selected tab have changed slight
The way to change the active tab now is by giving active the index of the tab. Note the index starts at 0 not 1. To make the second tab active you will use the the index 1.
//this will select your first tab
$( "#tabs" ).tabs({ active: 0 });