Link to inactive tab from within active tab content

Link to inactive tab from within active tab content

Hi There,

This seems like it should be simple, but I can't seem to get it to work. Any pointers would be greatly appreciated.

I have some tabs as per following, all work ok when clicking tabs, however, I can't link to other tabs from within the active tab. Here is the tab code:

  1.         <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs">
                <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
                    <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tabs-1">Tab 1</a></li>
                    <li class="ui-state-default ui-corner-top"><a href="#tabs-2">Tab 2</a></li>
                </ul>
                <div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tabs-1">
                    Tab 1 content, lets <a href="#tabs-2">Link to tab 2</a>
                </div>
                <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tabs-2">
                    Tab 2 content, lets <a href="#tabs-1">Link to tab 1</a>
                </div>
            </div>

















    • Topic Participants

    • sales