[jQuery] Re: getScript does not always work for me

2009-07-07 Thread Nikki Locke
Just to bring you up to date, turns out the problem wasn't the ajax call not returning, it was in the code that processed the call, which hung the browser! The offending call was somthing like: $("a[href='javascript:Submit('text')']") On Jun 26, 11:45 am, Nikki Locke wrote: > Further to this, m

[jQuery] Re: getScript does not always work for me

2009-07-02 Thread Nikki Locke
Thanks for the help. Turns out my problem is completely unrelated - some of the code I was executing in response to the request was hanging the browser! So I wasn't seeing any of my log output. I'm starting a new thread on it, as it is to do with quoting inside jquery selectors. On 29 June, 04:

[jQuery] Re: getScript does not always work for me

2009-06-28 Thread e.a.
BTW, it is working. Here is the output of http://jsbin.com/umuwi : Hello from JS Bin www.trumphurst.com ready sent request got reply href received On Jun 26, 1:45 pm, Nikki Locke wrote: > Further to this, my real application is hanging the browser, and I > don't know how to find out what is wr

[jQuery] Re: getScript does not always work for me

2009-06-28 Thread e.a.
Hello, try to use setTimeout. For example: setTimeout(function(){$.getScript("the_script_you_want_to_fetch");}, 500); Increase or decrease the timeout according to your needs. On Jun 26, 1:45 pm, Nikki Locke wrote: > Further to this, my real application is hanging the browser, and I > don't kn

[jQuery] Re: getScript does not always work for me

2009-06-26 Thread Nikki Locke
Further to this, my real application is hanging the browser, and I don't know how to find out what is wrong :-( I have tried it with IE8, Firefox, Safari and Chrome - the browser always hangs at some point. Any suggestions what to try next would be very gratefully received. On 25 June, 20:57, N

[jQuery] Re: getScript does not always work for me

2009-06-26 Thread Nikki Locke
Well, this morning the same web page works. Looks as if the jsbin.com editor app is messing things up, as it doesn't work properly when displayed in the editor. So that's a red herring, then, and I am no nearer finding out why getScript sometimes doesn't return at all in my real app :-( Sorry fo