Attaching several scripts to a submit button

I was wondering if it is possible to attach several scripts to one submit button on a website.

Details:
I need one script that takes an email addy from a field, sends a reply to that email address, and then sends the submitted email address to a database (mySQL). Can I take three different scripts and attach tham to one button, or do I have to build a huge script to do all of this at once?

Thanks for the help.

I am not sure I understand what you are asking.

Can you run three seperate scripts from one submit sure, just once the page reloads or the new page does, check to see if the button was pressed and if it validates true then you can include the scipts to run.

You could turn the scripts into functions, and call them consequently when the button is clicked.

Sponsor our Newsletter | Privacy Policy | Terms of Service