Menu
I have a problem trying to call a PHP script from Javascript. My webpage has the extension .php. What I need to do is call the function email when my Javascript var doneAction is complete. Where am I wrong in this code? Please Help!
<?
function email()
{
window.open(“mailto:
}
?>
<SCRIPT language=JAVASCRIPT type=TEXT/JAVASCRIPT>
var sourceDir = “”;
var doneAction = “function email”;
</SCRIPT>