jsStringFormat() ftw?
On Mon, Aug 29, 2011 at 11:05 AM, Akos Fortagh <[email protected]> wrote: > > thank you for all your suggestions folks, like I mentioned this was developed > before the time of CFMAP on CF 7, anyway I found out what the problem was. > The JS array for the addresses to work correctly must be populated like this: > var addresses = ['town1,postcode1','town2,postcode2','town3,postcode3']; > which all comes from a DB table admin updates, until....admin accidentally > entered an apostrophe within an address name so it was like > ['town1,post'code1'] so JS couldn't process it correctly. > Posted this in case somebody else has the same problem. > thanks you again > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347094 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

