嗨,我期待的验证后,发送形式的细节在电子邮件,但我不知道我怎么把在我想派继承人的细节我的代码如何在Javascript
样本警报if(compName)
{
document.getElementById('country').focus();
compName=true;
if(compContry)
{
document.getElementById('Phone').focus();
compContry=true;
if(compphone)
{
document.getElementById('email').focus();
compphone=true;
if(compemail)
{
//this is where i want to send details of form in email
alert("Your Details Are Sent ");
compemail=true;
}
else
{
document.getElementById('email').focus();
compemail=false;
}
}
else
{
document.getElementById('Phone').focus();
compphone=false;
}
}
else
{
document.getElementById('country').focus();
compContry=false;
}
}
else
{
document.getElementById('username').focus();
compName=false;
}
}
问题不是那么清楚。 – 2011-04-27 08:15:59
你的意思是你想用JS发送邮件吗? – JohnP 2011-04-27 08:16:09