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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling asp function when submit button is clicked.

Status
Not open for further replies.

djmc

Programmer
Jun 12, 2002
179
0
0
CA
How can I call an asp function that I have created when a user clicks on the submit button in a form.

 
You might want to do a bit of looking online before you post questions like that. Check out 4guysfromrolla.com , w3schools.com , asp101.com , or search Google for the onClick handler (if you want to call a script) or the "action" parameter for forms.

"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."
- Bjarne Stroustrup
 
to call a ASP function you need to perform a submission or redirection to call the server in order to run the script the function is contained in. As karsh44 states there are multiple resources out there for you to start out with. The FAQ in this forum also have multiple examples of submissions in order to call functions on conditional factors for various needs. If you get going and have a logic problem with what you need to do come on back and we can help you out.

____________________________________________________
[sub]The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-2924[/sub]
onpnt2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top