[jQuery] Re: Jquery seems to be sending two requests the first few times. . .

2009-02-10 Thread Tze Yang Ng
Hi Mark, > I have been tracing this one down for two days. > > Has anyone else ever seen jquery making multiple request for a single > call? Is it possible that u register an event multiple times ? Something like the following: function register_button_for_action() { $('button').load( 'any_ur

[jQuery] Re: Jquery seems to be sending two requests the first few times. . .

2009-02-10 Thread Stephan Veigl
Hi Mark, ad 1) in Firebug I can see only one POST request. Do you have any content in your config.html which is loaded subsequently (e.g. images, js, ...)? Just try it with an empty config.html and without the callback function. ad 2) no Problem, you can chain AJAX request within the callback as