stevan
06-05-2005, 01:50 AM
I wanted to use this script BUT I need to add under body. I have tried but something always errors. COuld someone please add just one more field called passenger so I can see how it was done . I am tring to send the body of a web page invoice this seems to fill the bill unless there is something better
Thxs Steve
<script>
function doIt()
{
var S=document.exf2.subject.value;
var B=document.exf2.body.value;
self.location="mailto:someone@somewhere.com?subject="+S+"&body="+B;
}
</script>
</head>
<body>
<form name=exf2>
SUBJECT:<input type=text name=subject value="the subject"><BR>
BODY:<input type=text name=body value="the body"><BR>
<input type=button value="SUBMIT" onclick="doIt()">
</form>
</body>
</html>
Thxs Steve
<script>
function doIt()
{
var S=document.exf2.subject.value;
var B=document.exf2.body.value;
self.location="mailto:someone@somewhere.com?subject="+S+"&body="+B;
}
</script>
</head>
<body>
<form name=exf2>
SUBJECT:<input type=text name=subject value="the subject"><BR>
BODY:<input type=text name=body value="the body"><BR>
<input type=button value="SUBMIT" onclick="doIt()">
</form>
</body>
</html>