Re: [Friday] [somewhat-ajax-related] XMLHttpRequest scoping problems

2005-08-23 Thread David Durham
Sudhaker Raj wrote: You may want to check OpenRICO - http://openrico.org Good link. Much appreciated. - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Friday] [somewhat-ajax-related] XMLHttpRequest scoping problems

2005-08-22 Thread David Durham
Jeff Beal wrote: req.onreadystatechange = function() { processResponse(req); } yeah, I think this is what I was looking for. Thanks. - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: [Friday] [somewhat-ajax-related] XMLHttpRequest scoping problems

2005-08-22 Thread Jeff Beal
I haven't actually tried having multiple simultaneous requests with this, but it's not using the global namespace, so it should work: submitRequest("../yourURL.html",processResponse); function submitRequest(url,handler) { var req = null; if (window.XMLHttpRequest) { // Non-IE browsers req

Re: [Friday] [somewhat-ajax-related] XMLHttpRequest scoping problems

2005-08-20 Thread Sudhaker Raj
You may want to check OpenRICO - http://openrico.org Cheers, On 8/19/05, David Durham <[EMAIL PROTECTED]> wrote: > Hi -- > > There's been some traffic on this list involving XMLHttpRequests and > javascript, and since it's Friday ... > > My problem: How to use multiple asynchronous requests sim

[Friday] [somewhat-ajax-related] XMLHttpRequest scoping problems

2005-08-19 Thread David Durham
Hi -- There's been some traffic on this list involving XMLHttpRequests and javascript, and since it's Friday ... My problem: How to use multiple asynchronous requests simultaneously without using the global namespace. For instance, I'd like to create a little DirectoryTree widget that I can