>>You can put CF inside JS. That one of the places where CFML really shines. I remember (a painful memory) having to work on a site where the original author was generating JS using PHP and concatenated the JS with PHP. Mixing two C style languages is enough to make your eyes spin in different directions.
G! On Thu, May 14, 2009 at 10:17 AM, Jake Churchill <j...@cfwebtools.com>wrote: > > You can put CF inside JS. You just have to look at the rendered source to > make sure it's correct. It usually takes me a couple tries but it always > works in the end. > > Jake Churchill > CF Webtools > 11204 Davenport, Ste. 100 > Omaha, NE 68154 > http://www.cfwebtools.com > 402-408-3733 x103 > > -----Original Message----- > From: Paul Ihrig [mailto:pih...@gmail.com] > Sent: Thursday, May 14, 2009 9:10 AM > To: cf-talk > Subject: Re: dynamically create array using cfloop? > > > also.. i cant put cf inside js? > or can i? > > the loop works fine out side <script type="text/javascript"></script> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322503 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4