Generic way of doing this would be:
addresses[#arrayIndex#] = '#name#, #address#, #city#, #state#';
ya it clutters up your display page code, but it works. It also makes
debugging any javascript syntax issues (i.e. name = "o'connor" - the extra ') a
breeze :).
Jake Pilgrim
>I n
CTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 08, 2007 2:56 PM
To: CF-Talk
Subject: populate a javascript var with cfoutput?
I need to dynamically populate "addresses" as shown below:
var addresses = new Array("Redwood City, CA", "Palo Alto, CA", "Sant
I need to dynamically populate "addresses" as shown below:
var addresses = new Array("Redwood City, CA", "Palo Alto, CA", "Santa
Clara, CA", "San Jose, CA", "Sunnyvale, CA", "Mountain View, CA",
"Milpitas,CA");
I've been trying to use listappend but keep running into the issue of
the quotes as
3 matches
Mail list logo