Close but You should be using .get() for this, with an onsuccess callback (also see datatype). .getscript is solely for loading javascript files to execute.

Sent from my iPhone

On Feb 11, 2009, at 11:13 PM, "brian.overl...@gmail.com" <brian.overl...@gmail.com > wrote:


I'm using $.getScript to get XML from a remote server.  How do I pass
the response text from that request to another function?  Here's the
pseudocode:

$.getScript(getURL, function(){
           processXML();
});

How do I pass the response text to processXML?

Thanks!

Reply via email to