How to disable or hide a tab based on a condition?

Is there a way to easily hide a tab in Scriptcase? I was going to try to run it onLoad or onNavigate - is there a preference? Is there Javascript that can handle this?

Hi msuman,
You can accomplish this using javascript, check your tab ID (HTML Source code) and hide it using jquery:

[B]
<script>
$(’#tabID’).hide();
</script>

[/B]