How can you get data out of eval?
I “asked” the response from ajax with “evalScripts: true” and I set the javascript function in the “response” like you said
and???
what now??
sorry if I sound like an idiot
@sroub - I’m not sure if I understand what you mean.
It’s been a long time since I’ve worked on this and I don’t do much javascript these days, so forgive me if I’m a bit rusty. With the above code, you should be able to access the function as coolFunc.
When I was working on this, most of the scripts were either Periodical Updaters or a quick flash of new content in another div; we just ran them to update the display, not to pass data around to other functions.
I’m probably not much help with this comment, but if you leave some further information I can try to point you in the right direction.
sroub | 28-Jan-08 at 3:12 am | Permalink
How can you get data out of eval?
I “asked” the response from ajax with “evalScripts: true” and I set the javascript function in the “response” like you said
and???
what now??
sorry if I sound like an idiot
Christopher | 28-Jan-08 at 7:22 am | Permalink
@sroub - I’m not sure if I understand what you mean.
It’s been a long time since I’ve worked on this and I don’t do much javascript these days, so forgive me if I’m a bit rusty. With the above code, you should be able to access the function as coolFunc.
When I was working on this, most of the scripts were either Periodical Updaters or a quick flash of new content in another div; we just ran them to update the display, not to pass data around to other functions.
I’m probably not much help with this comment, but if you leave some further information I can try to point you in the right direction.
sroub | 29-Jan-08 at 1:58 am | Permalink
thanks for your quick response
I think I overcome my misunderstanding
have a nice day
sroub