On Apr 7, 3:38 am, EnvyGeeks <jor...@envygeeks.com> wrote:
> It seems that either I'm doing something horribly wrong or something
> because everytime I do an Ajax call using $.load() it causes a double
> query on the page.
>
> example:
> $("div#example a").click(function(){
>     $.ajax_uri = this.href;
>     $("div#sidebar").fade_in(300,function(){
>         return $("div#sidebar").load(String($.ajax_uri)+" div#sidebar
> ul:first",function(){
>             return $("div#sidebar").fade_out(300);
>         });
>     });
>     return false;
>
> });
>
> results in:
>
> GET URL/URI    200 OK    39ms    jquery.js (line 19)
> GET URL/URI    200 OK    28ms    jquery.js (line 19)
>
> I removed the URL's and URI's because it's a work in progress and I
> don't want it public just yet.

If you are using Firebug, try disabling it for the site and see what
happens.

Laker

Reply via email to