[jQuery] select list and tabs
I've got a form with jquery and regular javascript mixed (is this bad?), along with 2 groups of jquery tabs with form fields within them.
I am trying to get a select list to activate a particular tab.
Here is what I have so far.
$('#hispeed_type').change(function(event) {
if(this.value == 2){
$('#containerA').triggerTab(4); // triggers third tab
}
});
#hispeed_type is the select list
#containerA tab 4 is what I'd like to activate if #hispeed_type value = 2
I get an error when I select the desired item on the select list "<span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch opened">$("#containerA").triggerTab is not a function</span>".
Isn't triggerTab a native jquery function?
Mike