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
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 :
And your jQuery
onchangefunction does this :what this does is take the
valuefrom youroptionand enable and select the matching tab … so to change the order just change the value in your HTML :See here
You will notice here that if you select
TERMS 1you will go to tab3as the value specified in theoptionforTERMS 1is3….