Hi,
I have an application in which the user chooses a date from one page, and, after clicking a button, an asp opens (onSubmit of the form) to process the form and place the information in cookies. Then the asp redirects to my results page. The results page processes the cookies, determines the right SQL statement, queries a SQL database, and builds a table based on the results.
All this works great. Now, however, I need to add two buttons - "Next Hour" and "Previous Hour". The query returns one hour worth of data, and they want to be able to go to the next hour or the previous hour and reload the page. I cannot for the life of me figure out how to do this. Can anyone tell me the right things I should be looking at to make this work? I am currently using vbscript on both the client and the server scripts, but am open to javascript on the client side.
Any help would be greatly appreciated, and I apologize for the long post, but I wanted to be thorough.
Thanks in advance,
Marc Tower [sig][/sig]
I have an application in which the user chooses a date from one page, and, after clicking a button, an asp opens (onSubmit of the form) to process the form and place the information in cookies. Then the asp redirects to my results page. The results page processes the cookies, determines the right SQL statement, queries a SQL database, and builds a table based on the results.
All this works great. Now, however, I need to add two buttons - "Next Hour" and "Previous Hour". The query returns one hour worth of data, and they want to be able to go to the next hour or the previous hour and reload the page. I cannot for the life of me figure out how to do this. Can anyone tell me the right things I should be looking at to make this work? I am currently using vbscript on both the client and the server scripts, but am open to javascript on the client side.
Any help would be greatly appreciated, and I apologize for the long post, but I wanted to be thorough.
Thanks in advance,
Marc Tower [sig][/sig]