• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Tabnavigator Focus

Explorer ,
Jul 28, 2006 Jul 28, 2006

Copy link to clipboard

Copied

How do you focus on a certain page on a tabnavigator? Say I want to focus on the third tab(page) when a button is pressed?

Views

1.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 30, 2006 Jul 30, 2006

Copy link to clipboard

Copied

I assume you mean navigate to

give the tab nav an id attribute, then in the button use this to set the selectedIndex

<cfformgroup type="tabnavigator" id="myTab">

<cfinput type="button" name="btn_1" value="Click Me" onclick="_root.myTab.selectedIndex="2">

Note: tab nav start at index zero

Ken

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 15, 2009 Oct 15, 2009

Copy link to clipboard

Copied

LATEST

I didn't post the question originally, but Ken's suggestion above was exactly what I was looking for.  Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation