Dynamic Tabs
The sample provided below uses a simple script to dynamically
show and hide layers using, you guessed it, DHTML. This is the
same script that is used on the tabs on this page.
The example provided includes form elements to illustrate that
inputting text into the fields and swapping layers will still
preserve the entered data. This can save tremendous amounts
of code work managing variables in a hash map or in server variables
etc.
View
Sample