Dear Friend,
try these codes
code1.html
<html>
<body>
<form name="hello" method=get>
email <input type=text name=email><br>
subject <input type=text name=subject><br>
body <input type=text name=body><br>
<input type=button name=send value=send onClick="javascript:sendmail();">
</form>
<script language=javascript>
function sendmail()
{
mailtext="mailto:"+document.hello.email.value+"?subject="+document.hello.subject.value+"&bo
dy="+document.hello.body.value;
document.hello.action=mailtext;
document.hello.submit();
}
</script>
</body>
code2.html
<html>
<body>
<form name="hello" method=get>
email <input type=text name=email><br>
subject <input type=text name=subject><br>
body <input type=text name=body><br>
<input type=button name=send value=send onClick="javascript:sendmail();">
</form>
<script language=javascript>
function sendmail()
{
mailtext="mailto:"+document.hello.email.value+"?subject="+document.hello.subject.value+"&bo
dy="+document.hello.body.value;
//document.hello.action=mailtext;
//document.hello.submit();
document.location.href=mailtext;
}
</script>
</body>
regards,
bvsureshbabu