Support » Plugin: Post UI Tabs » Link to tab from a tab, please help.

  • Resolved Sho-Down


    Each post has it’s own tab set and I show 8 posts per page, so I have 8 unique tab sets on each page. I’m wanting to create a “Buy Now” button hyperlink in each tab 1 that when clicked links to the tab set’s tab 4.

    This plugin already creates unique tab id’s for each set so that’s not a problem. I’ve got it working in Chrome but not Firefox/IE. In FF/IE it just opens a page when clicked that says [object Object]. The code I’m using is:

    <div class="buybutton"><a href="javascript: jQuery('a[href=#tabs-1-4]').click()">BUY A LICENSE</a></div>

    If anyone can help me I’d appreciate it, I’ve been searching for a solution for days and have had no luck.

Viewing 1 replies (of 1 total)
  • Think I found my solution. Instead of the code above, you can use:

    <a onclick="$('a[href=#tabs-1-4]').click();">Jump to tab 4</a>


    <a href="javascript:void(0)" onclick="$('a[href=#tabs-1-4]').click();">Jump to tab 4</a>

Viewing 1 replies (of 1 total)
  • The topic ‘Link to tab from a tab, please help.’ is closed to new replies.