This is a discussion on Server side ASP, Client side JavaScript and MS SQL within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi All, If this is not the correct group for my question please point me in the right direction. ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi All, If this is not the correct group for my question please point me in the right direction. I am using server side VBScript to connect to an MSSQL database, on the Internet, extract values and serve them up in text, drop downs, etc... controls via a web page. So far this seems to work great. What I would like to do now is place a 'Cancel' button on the page. If the user clicks this cancel button then the values in all the controls should be reset to the same values as when the page was served up. Since I have never done anything like this I thought I would ask for some advise. What I am thinking is to just reload the page by setting a hidden value in a text box and having the form submit to itself. Is this the best way to do this? Any suggestions? Thanks for any help, Charles |
| ||||
| Hi All, Never mind, I found an answer while I was searching for another problem. Thanks anyway, Charles On 9/14/2005 8:01 PM, Charles E Finkenbiner wrote: > Hi All, > > If this is not the correct group for my question please point me in the > right direction. > > I am using server side VBScript to connect to an MSSQL database, on the > Internet, extract values and serve them up in text, drop downs, etc... > controls via a web page. So far this seems to work great. > > What I would like to do now is place a 'Cancel' button on the page. If > the user clicks this cancel button then the values in all the controls > should be reset to the same values as when the page was served up. > > Since I have never done anything like this I thought I would ask for > some advise. > > What I am thinking is to just reload the page by setting a hidden value > in a text box and having the form submit to itself. Is this the best > way to do this? Any suggestions? > > > Thanks for any help, > > Charles |