Changing Microsoft's TabStrip disabled property via javascript.
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…