Wijmo UI for the Web
select Method
The zero-based index of the tab to be selected or the id selector of the panel the tab is associated with.
Selects a tab; for example, a clicked tab.
Syntax
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  wijtabs
    // Parameters
    var index; // Type:  undefined
    
    returnsValue = $(".selector").wijtabs("select", index);
});
Javascript (Specification) 
function select( 
   index : undefined
) : wijtabs;

Parameters

index
The zero-based index of the tab to be selected or the id selector of the panel the tab is associated with.
Example
//Select the second tab.
$("#element").wijtabs('select', 1);
Browser Compatibility
7
5
5

See Also

Reference

wijtabs type
wijtabs jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.