title: Javascript adding linebreak in mailto body
body: <p>I'm setting the body of an email using values from a form</p>
  
  <pre><code>  firstname = bob
    lastname = dole
  
     ebody = 'First Name: ' + firstname + '\r\n' + 'Last Name: ' + lastname
  
    window.location.href = 'mailto:myemail@mycompany.com?subject=test
    email&amp;body=' + ebody;
  </code></pre>
  
  <p>If I do an "alert(ebody);" I get the linebreak between firstname &amp;
  lastname, however when it opens up outlook, the entire ebody string
  appears without a linebreak in the email body.</p>
  
  <p>I've tried just \n also. is there something that can give be a line
  break? </p>
  
  <p>Thanks in advance</p>