jQuery UI Tabs iframe

jQuery UI Tabs iframe

Hi,

I am fairly new to jQuery UI and I have run into a problem.

I have a tabs widget with 5 tabs. The first tab is a normal div and the others are iframes loaded in the tabs. The First 2 tabs are enabled on initialization and the rest are disabled.

What I am trying to do is create a wizard when the user clicks on a button (also UI) in on of the iframe tabs then the next tab is selected and so forth.

I have tried using $('#tabs').tabs('option', select, index) but nothing happens.

Any help would be really appreciated.