onSubmit Javascript function linking to confirmation page

admin

Administrator
Staff member
hi guys,
I need a simple javascript that will allow the 'Submit' button on a simple html form I've created to redirect the user to a confirmation, 'thank you' type html page. It's a simple form submission; submit button's current form action is to mailto: a particular address which is what I want but I also want clicking this 'submit' button to link to another html confirmation page as outlined above i.e. 'Thank you for submitting your details...etc.'

probably simple enough to do, I have an idea that it's a straightforward enough onSubmit() or onClick() function but thought I'd ask you guys in case you have something readymade that I can use (will display original script author in my code of course).

many thanks if you can help with this
cheers,
Damascus.
 
Back
Top