»
EnglishFrenchVietnamese

Print - eMailing Selected HTML Text - JavaScriptBank.com

Full version: jsB@nk » Email » eMailing Selected HTML Text
URL: https://www.javascriptbank.com/emailing-selected-html-text.html

eMailing Selected HTML Text © JavaScriptBank.comThis JavaScript is an easy way to copy and email selected html text that is on a web page. You can set this up as a Favorites item in Internet Explorer to make it simply to be able to do the emailing! Just highlight text on a page and then click the favorites link. The hightlighted input text will be placed in an email from your default mail program, ready for you to add a name and send!

Full version: jsB@nk » Email » eMailing Selected HTML Text
URL: https://www.javascriptbank.com/emailing-selected-html-text.html



HTML
<a href="selectedText = document.selection.createRange().text; selectedText = escape(selectedText); void(location.href='mailto:?BODY='+selectedText);">Copy Text then eMail</a>