For smart Primates & ROBOTS (oh and ALIENS ).

Blogroll

Friday, March 13, 2015

Send email using javascript

<html>
<script>
function mailpage(){
    var a=encodeURIComponent("http://agalaxycode.blogspot.in/");
    mail_str="mailto:?subject=This is interest for you: ";
    mail_str+="&body=Find interesting code in javascript: ";
    mail_str+=". %0A%0AYou can view it at, "+a;
    location.href=mail_str;
}
mailpage();
</script>
</html>

Share:

0 comments:

Post a Comment

Unable to resolve <website url> Try checking the for validity Google Pagespeed Insights

Unable to resolve <website url> Try checking the for validity Google Pagespeed Insights   You have a website and want to test it'...

Ads Inside Post

Powered by Blogger.

Arsip

Blog Archive