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 9274103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:16:33+00:00 2026-06-18T16:16:33+00:00

Is it possible to link jQuery menu to tabs? For example if the user

  • 0

Is it possible to link jQuery menu to tabs?

For example if the user selects “By Filter” in the menu below I want it to open up the Search By Filters tab. How can I achieve this?

JS

$("#menu").menu();
$("#search").tabs();

HTML

<ul id="menu" style="border: 0px; background:none">
<li><a id="2" style="cursor: pointer">Search</a>
<ul style="z-index: 2">
<li><a id="2a" style="cursor: pointer">By Filter</a></li>
<li><a id="2b" style="cursor: pointer">By Room</a>    
</li>
</ul>
</li>
</ul>

<div id="search" style="z-index: 1;">
  <ul>
    <li><a href="#search-1">Search By Filters</a></li>
    <li><a href="#search-2">Search By Room</a></li>
  </ul>
  <div id="search-1">
  </div>
  <div id="search-2">
  </div>
</div>  
  • 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-18T16:16:35+00:00Added an answer on June 18, 2026 at 4:16 pm

    Yes, you can do this:
    Add Id for each search option

    Make a listener to the Id 2 in the menu and on click, call

    $('#tabid').click(); 
    

    Here is the complete code:

    The script:

    $('#2a').click(function(){
        $('#sbf a').click(); 
    }); 
    
    
    $('#2b').click(function(){
        $('#sbr a').click(); 
    }); 
    

    The HTML code:

    <ul id="menu" style="border: 0px; background:none; width:50%; ">
    
    <li><a id="2" style="cursor: pointer">Search</a>
    <ul style="z-index: 2">
    <li><a id="2a" style="cursor: pointer">By Filter</a></li>
    <li><a id="2b" style="cursor: pointer">By Room</a>    
    </li>
    </ul>
    </li>
    </ul>
    <div id="search" style="z-index: 1;">
      <ul>
        <li id="sbf"><a href="#search-1">Search By Filters</a></li>
        <li id="sbr"><a href="#search-2">Search By Room</a></li>
      </ul>
      <div id="search-1">
      </div>
      <div id="search-2">
      </div>
    </div>  
    

    Check this fiddle

    http://jsfiddle.net/ej67Q/

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

Sidebar

Related Questions

I'm using an nice overlay example from link but want jquery to respond to
Possible Duplicate: Javascript force open a link in a browser I am working on
Possible Duplicate: click link below a higher z-index div I have two divs, one
We have the following HTML: <option value=4def1b88a1247><a href=link>Text</a></option> When using jquery-ui select menu, the
Is it possible to have a link/button that will execute an AJAX/Jquery function to
Why won't my main menu buttons open a URL link once you click it?
So im new to jquery and I want to make a new navigation menu.
Possible Duplicate: jquery highlight the link when clicked I have this nav: <div id=nav>
Is it possible to disable the jquery click when a href link (inside the
Is it possible using jQuery to select one full link which href contains another

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.