Enables a tab or tabs.
enable(id1, [id2], ...)

id | string, id of the tab

Returns integer.

#### Description

The tab(s) must exists in the .tabs array of the tabs. The tab object is identified by the .id property. The method returns the number of enabled tabs that were disabled before.
If you have tabs defined in the following way: $('#tabs').w2tabs({ name: 'tabs', active: 'tab1', tabs: [ { id: 'tab1', text: 'Tab 1' }, { id: 'tab2', text: 'Tab 2' }, { id: 'tab3', text: 'Tab 3', disabled: true }, { id: 'tab4', text: 'Tab 4' } ] }); You can add tabs: w2ui['tabs'].enable('tab3');