Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] mailto text box for subject


  • From: javascript@xxxxxxxxxx (Sujimon)
  • Subject: [Javascript] mailto text box for subject
  • Date: Tue, 22 Oct 2002 12:25:49 +0400

This is a multi-part message in MIME format.

------=_NextPart_000_001F_01C279C6.279ECFC0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi ,=20

Iam trying to create mailto form with a text area to write the subject =
but problrm is that the text box is a=20
recognising the line feeds. Its just dumping all text in one line =
without any line feeds. Pls help .


<TEXTAREA ID=3DTxtBody MAXLENGTH=3D250 ROWS=3D3 COLS=3D122 =
style=3D"FONT-FAMILY: verdana; FONT-SIZE: 12px;"></TEXTAREA>

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


Thanks / Suji


------=_NextPart_000_001F_01C279C6.279ECFC0
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi ,&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Iam trying to create mailto form with a =
text area=20
to write the subject but problrm is that the text box is a </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>recognising the line feeds. Its just =
dumping all=20
text in one line without any line feeds. Pls help .</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;TEXTAREA ID=3DTxtBody =
MAXLENGTH=3D250 ROWS=3D3=20
COLS=3D122 style=3D"FONT-FAMILY: verdana; FONT-SIZE:=20
12px;"&gt;&lt;/TEXTAREA&gt;<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;window.location.href=3D"mailto:"; =
+ LAdd=20
+"?body=3D" + TxtBody.value;<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks / Suji</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT></BODY></HTML>

------=_NextPart_000_001F_01C279C6.279ECFC0--