question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TABS how to trigger next tab with <a>/<button> element

See original GitHub issue

Can somehow after click and continue to next tab ?? Thx much

<div class="col s12">
    <ul class="tabs">
        <li class="tab col s4"><a href="#test1"  class="active">tab1</a></li>
        <li class="tab col s4"><a href="#test2">tab2</a></li>
        <li class="tab col s4"><a href="#test4">tab3</a></li>
    </ul>
</div>

<div id='test1' class="col s12">
    <a href='#test2' >continue</a>
</div>
<div id='test2' class="col s12"></div>

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
onerinascommented, Jun 22, 2015

@acburst vahy needs help on triggering tab from a href link ( outside .tabs)

0reactions
Dogfalocommented, Jan 19, 2018

1.0 has instance methods for this

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to trigger next tab with <a> or <button> element in ...
Write your code on .click() event, as following. $(document).ready(function() { $(' ...
Read more >
How To Create Tabs - W3Schools
Create buttons to open specific tab content. All <div> elements with class="tabcontent" are hidden by default (with CSS & JS). When the user...
Read more >
JavaScript · Bootstrap
Activates a tab element and content container. Tab should have either a data-target or an href targeting a container node in the DOM....
Read more >
Example of Tabs with Automatic Activation | APG | WAI - W3C
When focus moves into the tab list, places focus on the active tab element . When the tab list contains the focus, moves...
Read more >
Bootstrap Tabs - examples & tutorial
Use id and href attribute to connect tabs navs with tabs content. In the example below Tab 1 uses href="#ex1-tabs-1" in the first...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found