TabbedUI Object - Method to Select the Active Pane


The Tabbed UI object has a method to select the active pane by its title. For example, say you have a pane with a title of 'Customers'. This JavaScript will select that pane:


In this example, the name of the pane has been hard-coded. In a real application, the pane to be selected would save its name in a JavaScript variable on initialization, and the button event handler that performs the action would reference that variable.

See Also