Hi All
Many moons ago I found the code below and I have used it
successfully ever since with no problems - is it possible to add to the code
a line that will automatically send the received message back to the person who the email is from.
<html>
<head>
<title>Weekly Details</title>
<script type="text/javascript">
function sendform()
{
with (document.form1)
{
var body = ''
var i = elements.length , j = 0
while (i-- > 3) // drop last two elements
{
var tname = elements[j].id
body += tname + ""
if (tname == "Comment")
body += '%0d%0a' // line break before comment text
body += elements[j].value + '%0d%0a' // line break after each line
j += 1
} // end while
}
window.location = "mailto:" + "????" +"@"+ "????" + ".??.??"
+ "?subject=Weekly Details"
+ "&body=" + body
}
</script>
First Post
Thank You - Hazel
Many moons ago I found the code below and I have used it
successfully ever since with no problems - is it possible to add to the code
a line that will automatically send the received message back to the person who the email is from.
<html>
<head>
<title>Weekly Details</title>
<script type="text/javascript">
function sendform()
{
with (document.form1)
{
var body = ''
var i = elements.length , j = 0
while (i-- > 3) // drop last two elements
{
var tname = elements[j].id
body += tname + ""
if (tname == "Comment")
body += '%0d%0a' // line break before comment text
body += elements[j].value + '%0d%0a' // line break after each line
j += 1
} // end while
}
window.location = "mailto:" + "????" +"@"+ "????" + ".??.??"
+ "?subject=Weekly Details"
+ "&body=" + body
}
</script>
First Post
Thank You - Hazel