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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:46:44+00:00 2026-06-13T09:46:44+00:00

UI tabs work like this: $( #tabs ).tabs(); <div id=tabs> <ul> <li><a href=#tabs-1>tab 1</a></li>

  • 0

UI tabs work like this:

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

<div id="tabs">
    <ul>
        <li><a href="#tabs-1">tab 1</a></li>
        <li><a href="#tabs-2">tab 2</a></li>
    </ul>
    <div id="tabs-1">
    </div>
    <div id="tabs-2">
    </div>
</div>

Need to do somethig like this:

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

<div id="tabs">
    <ul>
        <li><a href="#tabs-1">tab 1</a></li>
        <li><a href="#tabs-2">tab 2</a></li>
    </ul>
</div>

<div id="tabs-content">
    <div id="tabs-1">
    </div>
    <div id="tabs-2">
    </div>
</div>

So tabs and tab content in different divs.

Is it possible?

  • 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-13T09:46:44+00:00Added an answer on June 13, 2026 at 9:46 am

    Yes its is possible

    Please check this link , and click links

    http://jsfiddle.net/YJdVE/1/

    code

    $(function() {
    $("#tabs ul li").click(function() {
    $("#tabs-content div").hide();
    $('#tabs-content div:eq('+($(this).index())+')').show();
    });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had tabs with preloaded content like this: $(function () { $('div.tabs ul.tabNavigation a').click(function
I have links (navigation tabs) in my page like this: <body> <div id=nav> <a
I am using jquery UI tabs and content loaded into the tab is on
This is my small piece of code for hide-show tabs (like an accordion): $('#multiOpenAccordion
I'm assigning a JS function to OnClientClick property of a TabContainer like this TabContainer1.Tabs[0].OnClientClick=JSTest
I used jQueryUI tabs widget as fallow: <div id=tabs> <ul> <li><a href=<%:Url.Action(List, new {
I use jQuery UI tabs as my container div. Now I need to show
I finally got Bootstrap tabs to work. I was wondering if there's a way
I have some tabs using jQuery UI which work just fine, but I want
I have a php script that uses some css/javascript tabs, they work on my

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.