I have a webpage that shows a table (actually an asp.net gridview with several rows in different colors). I had the idea of putting an EMAIL button on the page, which would open the user's email program, and put the gridview into it. That way, the user could email what he sees to someone else who doesn't want to be bothered with visiting the website. So I did this:
function tryToEmail() {
location.href = "mailto:SOMEBODY@domain.com?subject='Here are comments I made on a video'&body='Here is a video that I commented on: '" + document.getElementById('easytoselect').innerHTML;
return true;

}
the gridview has an ID, but I didn't know to get at it with javascript, so I just put an enclosing table around the gridview, and the TD that contains the gridview has an ID of 'easytoselect'.
The problem is that when the email program opens, the page is not shown as it appears, instead you see html tags in the body of the email.
Is there a way around this? I could have javascript select the contents of the TD, but I don't think I could get it to paste into
the body of the email program.