Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I execute ASP when submit button is pressed

Status
Not open for further replies.
Jan 19, 2003
34
US
I need to execute two asp functions when the submit button on a form is pressed. Can't get it to work. Any ideas or examples?
 
Are you meaning on the same page?
You can't, you would need to resubmit the page to itself and have an If statement on that page that checks if this is a Post to itself and if so execute the functions, if thats possible, else use VBScript or preferably javascript.

ASP is Server Side Code, i.e. this is translated into pure HTML
Javascript is Client Side Code, i.e. you can dynamically change the page display in the clients browser




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top