You should be able to simply Eval() the returned javascript to "Run" it. I'm doing that in a script that's similar in nature to yours.
-----Original Message----- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 5:55 PM To: CF-Talk Subject: Dynamic JS If I am returning HTML via an Ajax call to stick in my page, JavaScript functions aren't available for me to call, and other inline JavaScript doesn't get executed. What is the solution for this? I am retro-fitting an existing site and trying to inner html existing pages WITHOUT re-writing them. Is there a way to get the browser to run the JavaScript I just added as if the page had just loaded? Thanks. ~Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http: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:269148 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4