Hello people, Do you know how can I actually call a Coldfusion funsction with a javascript function.
for example I am using onClick to call a cffunction inside a div. (DOM) Example: <!-- <body> <cffunction name="MyExample" output="yes" returntype="string"> <cfreturn "My DOM Coldfusion Example"> </cffunction> <br /> <a href="#"onClick='document.getElementById("contentMain").innerHTML = "#MyExample()#";'>example</a></li> <div id="contentMain"> </div> </body> --> And of cource my result after I click it would be #MyExample()# instead of the text. I am sure that as a newbe I am doing a syntax mistake somewhere or something is missing but I am struggling with this 3 hours already. Thanx in advance. Any Ideas more than welcome...!!! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265148 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4