var sourceDir = "";
var doneAction = "function email";
- you script tag is depreciated.
- functions do not have the keyword function in front of them when executed.
I could go on with a few more, but I think you get the point.
now what exactly do you want to do?
var doneAction = "alert(\"Well done!\");";
Is it possible to activate the email client any other way?
Is it possible to have it that when you click the alert button to then activate the email client?
I don't think so.
you could just do:
var doneAction = "window.open('sendName.php');";
and then write a simple mail script in PHP. Just checking, but are you sure you even have PHP? I've had people before who's host doesn't suport it asking for code, which they then claim doesn't work.
I have tried this to open another webpage after var doneAction
var doneAction = "window.open('sendentry.htm');";
Then I have a PHP mail script but the doneAction will not work! What is wrong with this?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)