Forum Moderators: coopster
I have a single page with multiple forms on it... one form calculates some quantities & totals and another retrieves data from a database based on a select list.
Problem is... I want to be able to view the data from both forms simultaneously...
problem is, if I submit the calculate form, it returns all my info, but then if I go select an account from the second form, and click That submit button, it clears all the data from the first form.
Hope I'm explaining this well enough... anyone have any suggestions to retain the "calculate" data after I submit the second form?
Thanks in advance...
Russ
You could create two divs. 1 holds the 1st form, the second div holds the second form, with different ids.
Then with AJAX, refresh the <div>s for each form submitted section by writing only to that <div>'s inner html.
[edited by: Pico_Train at 5:23 am (utc) on May 23, 2008]
I'm not really all that familiar with AJAX. Could Javascript do the same thing?
AJAX is JavaScript. Here is a relative thread of interest:
[webmasterworld.com...]
I have it all working just need to make tweaks and finish the other features of the page based on this info.
Russ