[Javascript] mailto link question.

Stone, Timothy tstone at cityofhbg.com
Fri Oct 17 14:37:44 CDT 2003


Can you provide a sample of the string that you are getting back from
you script? Just paste it in a reply.

It, however, may be a limitation of the "mailto" protocol shortcut you
are using, if you're using the one I'm thinking of off the top of my
head...

<a href="mailto:joeblow at yaddayadda.com?body=blah&subject=hoha">Mail</a>


Tim

> -----Original Message-----
> From: mercer.b at comcast.net [mailto:mercer.b at comcast.net] 
> Sent: Thursday, October 16, 2003 9:59 PM
> To: javascript at LaTech.edu
> Subject: [Javascript] mailto link question.
> 
> 
> Hello all!
> 
> I came up with a very easy script that iterates through a 
> form and concocts an email message, the body of which is the 
> contents of all the form elements and their values. 
> Unfortunately all the form fields and their values come out 
> in a continuous string: FirstName=Joe,LastName=Blow etc. I 
> tried putting "/r/n" after each form elemenr in rhe script 
> but this doesn't help. Would any of you Javascript gurus have 
> an idea how I can put a carriage return/line feed in the body 
> of a mailto link?? I come from the Pascal world and 
> Javascript is quite net to me at this point, this is for my 
> nephew's Cub Scout troop's web site.
> 
> Many Tnanks.
> Brian M.
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu 
> https://lists.LaTech.edu/mailman/listinfo/java> script
> 



More information about the Javascript mailing list