[jQuery] Re: $.getScript results in two requests!

2009-11-27 Thread Eric
Hey there, Thanks for your answers. Sorry I didn't reply earlier, been pretty busy. It turned out the problem was caused by an old version of Firebug ( http://code.google.com/p/fbug/issues/detail?id=928 ). I am now using Firebug 1.3 on Firefox 3.5, where the bug is fixed. Eric On 25 Nov.,

Re: [jQuery] Re: $.getScript results in two requests!

2009-11-27 Thread Michael Geary
Glad you tracked that down - pretty nasty bug in Firebug! Just curious, 1.3 is still a pretty old version. Any reason not to use the latest Firebug 1.4.5? -Mike On Fri, Nov 27, 2009 at 2:43 AM, Eric ikeah...@gmail.com wrote: Hey there, Thanks for your answers. Sorry I didn't reply earlier,

[jQuery] Re: $.getScript results in two requests!

2009-11-25 Thread KeeganWatkins
just out of curiosity, have you checked to make sure you aren't using the $.ajax() method (or one of its convenience methods) elsewhere? i see in the first set of headers that the X-Requested-With header is present, which is generally added by jQuery (and most other libs) when a request is

[jQuery] Re: $.getScript results in two requests!

2009-11-25 Thread donb
Be very certain you don't accidentally bind a click function twice somehow. Assuming, that is, a click initiates the action. Setting a Firebug breakpoint on entry to the repeated code, then inspecting the Stack panel to see how you got there each time, will probably reveal how this occurs. On