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

  • Home
  • SEARCH
  • 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 7025557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:59:25+00:00 2026-05-27T23:59:25+00:00

little annoying issue here. My hide function makes the page jump to top: $(.home

  • 0

little annoying issue here. My hide function makes the page jump to top:

 $(".home .options .tabs ul li").click(function(event){
    $("#wrapper .home .aba").hide();

    var qual = $(this).attr("ref");

    $(".content.home .options .tabs ul li").removeClass("active");
    $(this).addClass("active");

    $("#"+qual).show();

    return false;
});

If i remove it, it works pretty well. Whats happening?

After i click on each tabs, the issue stops. But when i refresh the page, come back.

Thanks!

  • 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-05-27T23:59:25+00:00Added an answer on May 27, 2026 at 11:59 pm

    this will help definitely:

    all that is needed to change onclick js code.

    http://tutes.in/2011/08/21/toggle-showhide-div-using-javascript-without-page-jump/

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

Sidebar

Related Questions

I have an annoying little issue here. I have code which loads content from
A little example TTest<T> = class private f : T; public function ToString :
I recently spent some time chasing an annoying little bug and I'm looking for
It is a little bit annoying to have the GWT hosted browser (on a
I've almost got this working apart from one little annoying thing... Because the ListBox
Need a little advice here. We do some windows mobile development using the .NET
I am facing a little annoying design problem. Not easy to give a title
How do you call those little annoying cases that has to be checked ,
hey guys, i'm facing a little annoying bug that's in my case not really
I have a little but annoying problem. I have made an app where the

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.