How to show or hide tabs conditionally |
3/2/2011 12:36:53 PM |
PHPRunner Tips and Tricks | |
F
FunkDaddy author
I decided to add this simple tip to elaborate on the posting that asked how to hide and show tabs conditionally (original post here http://www.asprunner.com/forums/topic/15679-asprunner-6-3-conditional-tab/)
|
|
A
|
agentsmith 3/20/2011 |
Thanks for the codes.
I decided to add this simple tip to elaborate on the posting that asked how to hide and show tabs conditionally (original post here http://www.asprunner.com/forums/topic/15679-asprunner-6-3-conditional-tab/) As you can see,per Sergey's answer, Here is how you can hide the tab in Javascript onload event.
|
F
|
FunkDaddy author 3/20/2011 |
I don't see why it wouldn't work. Are you sure you are referring to the tab numbers correctly? Remember they use zero based index array. Thus, 1st tab is numbr zero, 2nd tab is number one, etc. |
A
|
agentsmith 3/23/2011 |
It works after a few trials and errors. In my case, I have to use I don't see why it wouldn't work. Are you sure you are referring to the tab numbers correctly? Remember they use zero based index array. Thus, 1st tab is numbr zero, 2nd tab is number one, etc. M |
A
|
auez 6/15/2011 |
Ok, but what happen when i want to show this tabs if the condition change like a dropdown list ?. Are there a way to show it ? |