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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:08:42+00:00 2026-05-31T14:08:42+00:00

I have 3 tabs and 1 combo box in a jsp page. By default

  • 0

I have 3 tabs and 1 combo box in a jsp page. By default Tab 1 is enabled and tab2 and tab3 are in disabled mode , When i will select term one(in drop down item) then automatically i am going to 1st tab and if please select option is choosen then tab2 and tab3 will be disabled

Here is the fiddle: http://jsfiddle.net/AavsW/21/

but what i want is if i will select term one(in drop down item) then i want to go to tab3 that is order of tabs and drop down items need not to be in the same way. Should i use data-tabid=""? How can i implement it? Any help is appreciated

  • 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-31T14:08:44+00:00Added an answer on May 31, 2026 at 2:08 pm

    Its quite difficult to know exactly what your want because your question is difficult to read and understand… but you can easily change which tab is selected on change of the selection option … your current HTML is this :

    <select name="porting-p1" class="dropdown">
       <option value="1" class="disablenext">Please select an option...</option>
       <option value="2" class="enablenext">TERMS 1</option>
       <option value="3" class="enablenext">TERMS 2</option>
    </select>
    

    And your jQuery onchange function does this :

    // enable tab
    $('#wizard').tabs('enable', $('.dropdown').val());
    // select tab
    $('#wizard').tabs('select', $('.dropdown').val());
    

    what this does is take the value from your option and enable and select the matching tab … so to change the order just change the value in your HTML :

    <select name="porting-p1" class="dropdown">
       <option value="1" class="disablenext">Please select an option...</option>
       <option value="3" class="enablenext">TERMS 1</option>
       <option value="2" class="enablenext">TERMS 2</option>
    </select>
    

    See here

    You will notice here that if you select TERMS 1 you will go to tab 3 as the value specified in the option for TERMS 1 is 3 ….

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

Sidebar

Related Questions

I have several tabs in my application, and each tab loads a different sub-page
So I want to have tabs with default style but I want to handle
I have three tabs. When I press the tab button on the bottom, is
I have 4 tabs in my iphone application. When user will click a button
I have Two Tabs Tab-1 and Tab-2 at bottom of the screen. Send button
I have 2 tabs, named : Tab1, Tab2 class MainActivity extends TabActivity. MainActivity.java public
I have 2 Tabs - Tab1 and Tab2, Tab1Activity and Tab2Activity. I want to
Hi I have a combo box having 5 drop down items in Tab1 and
I have a UserControl with a Tab Control containing three tabs. Within the tabs
I have tabs on the website: Cinema, Concerts, Clubs, Theatres, Children, Other. Each tab

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.