469,631 Members | 1,260 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

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

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= 'R*********@hotmail.com';
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

Nov 17 '05 #1
1 2436
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
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Steve Wright | last post: by
2 posts views Thread by Joe W Larson | last post: by
5 posts views Thread by timjowers | last post: by
6 posts views Thread by 35th Ave Media | last post: by
15 posts views Thread by tshad | last post: by
3 posts views Thread by Brian | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.