When the submit button is pressed on a
<form method="post" action="mailto:adress@adress.com">
form, it automatically sends out an email from the users email client.
Now I want to do the same with a confirm box.
confirm ("bla bla bla"
document.formname.submit ()
But this only opens a new email and visitor still has to press send. How do I get it to send it out automatically as with the submitbutton of the form (as above)?
PS No I am not trying to spam people with this. They get a confirm popup after filling out info and then they also get their browsers insecure warning.
<form method="post" action="mailto:adress@adress.com">
form, it automatically sends out an email from the users email client.
Now I want to do the same with a confirm box.
confirm ("bla bla bla"
document.formname.submit ()
But this only opens a new email and visitor still has to press send. How do I get it to send it out automatically as with the submitbutton of the form (as above)?
PS No I am not trying to spam people with this. They get a confirm popup after filling out info and then they also get their browsers insecure warning.