chr is a CF function, and needs to be within <cfoutput> tags.
 
Also, convieniance should be convenience  :)
 
Phil
----- Original Message -----
Sent: Monday, March 10, 2003 2:31 PM
Subject: [cfaussie] _javascript_ syntax?

we are using a from mailer on a page to identify a project in _javascript_ & it driving me nuts, i believe i have to use a combination of Chr(13)&Chr(10) to induce a line break, but im stuffed if i can get it to work
 
<script language="_javascript_">
<!-- Begin
function mailpage()
{
  encodedURL = escape(location.href);
  mail_str = "mailto:#ent_Email#?subject= Tell me more about your project";
  mail_str += "&body= " ;
  mail_str += "I found your project at " + encodedURL + Chr(13)&Chr(10);
  mail_str += "Please contact me at your convieniance to discuss this opportunity";
  location.href = "">}
// End -->
</script>
 
this produces body text
I found your project at http://businessgrow.org/invest/entrepreneurs/dsp_proj_detail.cfm?opp_id=3Chr(13)Chr(10)Please contact me at your convieniance to discuss this opportunity
 
q:
how can i get it to look like
Please contact me at your convieniance to discuss this opportunity
 
thanks

Steve Soars


www.i-redlands.net

Interactive Redlands
Shop 2 Cleveland Town Square
Cnr Queen & Bloomfield Sts
Cleveland QLD 4163

[p] 07 3821-5800
[f] 07 3821-5811

"what we do in life
echoes an eternity"


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to