|
Hi all,
Firstly I'm a newbie so apologies if there is a simple solution to
this.
Basically I'm trying to create a simple data retreival page.
I've got a form for users to fill in. The data from this form is passed
to a SQL Server backend and used to query a few tables.
A recordset is then returned to the same webpage and displayed.
I want to hide the table to display the data until the user clicks on
the submit button.
I can work out how to do all the hiding and showing with divs, but my
problem comes in that when the user clicks on the button the data
flashes up on the page and then disappears again.
I'm assuming this is because on the form submit button the data is
passed and retrieved, then the div is shown and then straight away the
page is reloaded and so the div disappears again.
How do i stop the div disappearing again!?
Any help is much appreciated.
Thank you. |