Hi,
i have a little Greasemonkey script that communicates with a servlet on (my) server. The servlet is sending back javascript code, that i eval() in the onload handler of the GM_xmlhttpRequest.
So far, all is working fine. Now, for some reasons, i like use send another GM_xmlhttpRequest from within that eval()ed code. and here i'm stuck. i do not see any error, but all GM_* functions appear not to be working from within the eval(responsetext).
if i hard code the GM_xmlhttpRequest in the onload handler (no eval()), it is working fine.
i'm new to javascript and greasemonkey, so any help, links and so own would be greatly appreciated.
thanks in advance