Welcome to ASP.NET Guild

Be sure to come back often and tell others. If you have any tips, tricks, examples, please email them to me at chris.williams@techguilds.com and I will post them. Check out our ASP.NET QuickStart and C# QuckStart Libraries. Below is my latest articles.

Tuesday, April 22, 2008

escape \n in a mailto href

Here is the sample code

location.href='mailto:?SUBJECT='+escape(document.title)
+'&BODY='+escape('[[[\n'
+document.getSelection()
+'\n]]]\n\n-- '
+document.title+'\n'
+location.href+'\n'
+new Date(document.lastModified).toUTCString())

Are you a .NET Developer or Contractor interested in working with Sitecore or Dynamics CRM?

Apply for our Mentorship Program. If accepted, we will mentor you on Sitecore and provide you with project to help you build your skills and make some money at the same time. If you are interested send your resume with details on why you want to work with Sitecore or Dynamics CRM to: Chris Williams - chris.williams@techguilds.com or Dennis Augustine - dennis.augustine@techguilds.com We look forward to working with you to achieve your goals.