I have an add button to add new tabs. The list of tabs can also be sorted.
When a button is pressed to add a new tab, "ui-state-disabled" is dynamically added. This is pretty annoying.
The add button is part of the tab. I dynamically add it after displaying the tabs.
$('#tabs').append('<li id="tab-add" class="noSort"><a href="#" alt="Add Tab" title="Add Tab" class="add-tab"></a></li>');
Is there a reason ui-state-disabled is disabled, and can I disable it?
In firebug I can clearly see that after noSort ui-state-disabled has been added.
Thank.
source
share