Thanks Klaus,

I had seen this documentation but I just dont understand where the
code goes.
I was hoping to pass a parameter from the calling program like
marr.adam
suggested. EG: myprogram.php?tabSelected=2  However, this doesn't
work.
Where would I put the code you suggested and how does the parameter
for
the tab I want to select get passed?

Thanks again,
Mic


On Apr 8, 7:22 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> On Apr 8, 11:04 am, Mic <[EMAIL PROTECTED]> wrote:
>
> > Yes, I am using UI Tabs.
>
> Then you can use the tabs('select') method. Attach a handler to the
> link that'll activate the corresponding tab. Something like:
>
> var $tabs = $('#tabs').tabs();
>
> $('#link').click(function() {
>     $tabs.tabs('select', 3);
>     return false;
>
> });
>
> You can find this method it in the documentation as well:
>  http://docs.jquery.com/UI/Tabs
>
> --Klaus

Reply via email to