
09-04-2007
|
| Senior Member
Join Date: Jun 2007
Posts: 1,413
BRL$: 4,211.66 Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 172 | | Javascript and AJAX question In AJAX, I need to return several javascript functions which are called by event handlers in the http response. However, I cannot get those javascript functions evaluated by the browser. For example, if server returns the following for an AJAX request: function foo() { } I can see the 'test' button, but when I click it, I got error: "foo() not defined". I searched on google and found people suggested using eval(), but that doesn't work for function either. To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | | | |