Take a look @ the cfajaxproxy tag. http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_a-b_3.html
----- Original Message ----- From: "Yuliang Ruan" <yuliangr...@hotmail.com> To: "cf-talk" <cf-talk@houseoffusion.com> Sent: Friday, February 05, 2010 10:31 AM Subject: ***SPAM*** Re: setting cf var with javascript > >> I'm looking to add three work days to the current date. set this in a >> var and update the record in the database. > > after the JS actions of "adding work days", the JS would need to submit > the new data back to a CFM/CFC to be processed as a form, url, or function > argument to update into the db. > > the server side language CF and the client side language JS have really no > knowledge of each other. as far as CF is concerned, JS code is just text > output. CF has no knowledge of how JS code is run. conversely also > true of JS. All JS knows is that it's invoking either a form/page submit > to a URL. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:330436 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4