[Javascript] mailto text box for subject

Felix bruno.lanciau at cnes.fr
Tue Oct 22 04:15:13 CDT 2002


look at this to change linefeed by <BR>
A+

 Félix
 bruno.lanciau at cnes.fr
----- Original Message ----- 
  From: Sujimon 
  To: javascript at latech.edu 
  Sent: Tuesday, October 22, 2002 10:25 AM
  Subject: [Javascript] mailto text box for subject


  Hi , 
   
  Iam trying to create mailto form with a text area to write the subject but problrm is that the text box is a 
  recognising the line feeds. Its just dumping all text in one line without any line feeds. Pls help .
   
   
  <TEXTAREA ID=TxtBody MAXLENGTH=250 ROWS=3 COLS=122 style="FONT-FAMILY: verdana; FONT-SIZE: 12px;"></TEXTAREA>

   window.location.href="mailto:" + LAdd +"?body=" + TxtBody.value;

   
  Thanks / Suji
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20021022/b8f2cd47/attachment.htm>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20021022/b8f2cd47/attachment.html>


More information about the Javascript mailing list