12-14-2007, 12:03 PM
|
#2 (permalink)
|
|
The Wanderer
Join Date: Nov 2007
Posts: 18
Thanks: 3
|
hostfreak,
I would not require a submit for each but instead, save the form's information every time a tab is changed.
So:
PHP Code:
function OnChangeTab()
{
SaveCurrentPage();
}
Ajax would work well for this ... I am assuming that prior to this step, your user would be logged in already so that you would have a way to save this information against a known user profile ...
You may nit actually need to load the pages OnChangeTab() ... simply load all the HTML and form information on the initial page load ... then simply hide [class="display: none;" ] the container <div/>s you do not want to show at any particular time.
This will reduce the possibility of delays when switching tabs, and lowers the number of calls you need to make to the web server and database.
I hope this helps!
Brad
|
|
|