Re: populate a javascript var with cfoutput?

2007-03-08 Thread Jake Pilgrim
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

RE: populate a javascript var with cfoutput?

2007-03-08 Thread Andy Matthews
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

populate a javascript var with cfoutput?

2007-03-08 Thread cftalk_list
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