Geeks With Blogs

News These postings are provided "AS IS" with no warranties, and confers no rights.
Locations of visitors to this page virtusa corp sharepoint virtusa.com shehan peruma
Shehan Peruma November 2008 Entries
JavaScript to 'E-Mail This Page'
Here is a bit of JavaScript that can be used by a site visitor to email a page. Nothing fancy - just a plain ol' mailto command. 1: <script type="text/javascript"> 2: function mailThisPage() 3: { 4: var link = window.location; 5: var emailSubject = "Check this out: "+ document.title; 6: var emailAddress=prompt("Please enter the recipients email address",""); 7: window.location = "mailto:"+emailAddress+"?Su... 8: } 9: </script> Technorati Tags: javascript ......

Posted On Tuesday, November 25, 2008 7:48 PM

Copyright © shehan | Powered by: GeeksWithBlogs.net