Using the MailTo: how can I include the page in body of the email

  • Thread starter Thread starter Mike John
  • Start date Start date
M

Mike John

how can i include the current page in the body of the
email. I was only to put text.

Syntax:
<html>
<body>
<input type ="Button" onclick= "eman()">


<SCRIPT LANGUAGE=JAVASCRIPT>
function eman()


{
var e_add= '(e-mail address removed)';
var subj= 'hellow';
var e_body= 'Found some information on '
var about= document.title + " at the following
address";
var elink= " " + document.location ;
window.location="mailto:"+e_add+"?
subject="+subj+"&body="+e_body+about+elink;
alert("ADF");
}
</SCRIPT>


</body>

</html>



Sincerely yours


Mike John
 
Hi,

window.document.body.innerHTML or window.document.body.innerText

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture
 
Back
Top