This task can be a little tricky, so after messing with it's HTC (TabStrip.htc) here is how you do it:
To enable tab:
document.all.tags("TabStrip")[0].getTab(0).setAttribute("disabled", false);
To disable tab:
document.all.tags("TabStrip")[0].getTab(0).setAttribute("disabled", true);
* You can select other tabs of course or loop over them to disable\enable all of them at once (as needed).
Maybe it can save someone else the time I've wasted on it.
Back to code...
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2009, Oren Ellenbogen
<= Contact me via E-mail
newtelligence dasBlog 2.2.8279.16125