Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7823367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:13:10+00:00 2026-06-02T08:13:10+00:00

<div class=tabs> <ul id=tab class=nav nav-tabs> <li class=active> <a href=#feed data-toggle=tab>Feed</a> </li> <li> <a

  • 0
<div class="tabs">
    <ul id="tab" class="nav nav-tabs">
        <li class="active">
            <a href="#feed" data-toggle="tab">Feed</a>
        </li>
        <li>
            <a href="#dashboard" data-toggle="tab">Dashboard</a>
        </li>
    </ul>
</div>

When a user clicks the link below. i want to change the #dashboard li to active, and remove active from the #feed li. how do i do this?

<a href=".showfollowers" onclick='load_followers();' data-toggle="tab">See All</a>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T08:13:12+00:00Added an answer on June 2, 2026 at 8:13 am

    You better use unobtrusive javascript:

    <a href=".showfollowers" id="foo" data-toggle="tab">See All</a>
    

    Code:

    $('#foo').click(function(){
            $('#dashboard').addClass('active');
            $('#feed').removeClass('active');
            load_followers();
            return false; // if needed.
        });
    

    Though it can be done with inline scripts, inline code is deprecated.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the html: <div id=wrapper> <ul class=tabs> <li class=active><a href=#tab1>Tab 1</a></li> <li class=><a
With this code: <ul class=tabs-nav role=tablist > <li role=tab><a href=#newspane id=tab-newnews>Latest News</a></li> <li role=tab><a
I have 3 html box as follow: <div class=tabs> <ul class=tabNav> <li><a href=#video>Video Gallery</a></li>
In the page ?p=u I have the following tabs: <div id='tabs' class='ui-tabs'> <ul class='ui-tabs-nav'>
There is my markup: <UL style=-moz-border-radius-bottomleft: 0; -moz-border-radius-bottomright: 0 class=ui-tabs ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header
My tabs just plain aren't working. If I move the active class in a
I have a kind of tab solution built in jquery. When a user clicks
So I have a user profile with a tab navigation in it: <div id=proftab>
I want to scale the picture to fit the main div class http://jsfiddle.net/EyW99/ Sorry,
<div class = a> <div class = a b> text </div> </div> <script> alert($(.a).html());

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.