Posted By:
E_N
Posted On:
Friday, January 12, 2007 05:46 PM
I am sending an ajax request and the response contains a javascript function. I need to run the function when the response is complete. I may not know the name of the function. I know I can do an eval on the responseText and then call the function name, but as I said I may not know the name.
Is there a standard way to do on-demand javascript execution in AJAX. I have googled around but nothing seems to fit my situation.
Any help would be appreciated.
Thanks