This question is locked. New answers and comments are not allowed.
I am trying to disable some of the tabs in the tabstrip on page load event.
<input type="button" id="disabletab" class="" value="button" onclick="Disable()" />
function
Disable() {
var tabstrip = $("#TabStrip").data("tTabStrip");
var item = $("li", tabstrip.element)["1"];
tabstrip.disable(item);
}
This tab with index "1" gets disabled on clicking the button. But I want to disable the tab on load.
So I have tried the following:
$(function()
{
Disable() ;
});
This does not work. Please let me know how to enable/disable the tab on load event.
Thanks
Anil