Either the event didn't bind properly, or something is preventing it
reaching "return false;"

Is the even definitely firing? Do your other calls include the fadeOut
and, if not, does it work when you remove that line?

On Apr 7, 9:39 am, David D <[EMAIL PROTECTED]> wrote:
> I have a login box that loads inside a container via an ajax request,
> using .click. Here's the code:
>
> $(document).ready(function(){
>                 $('a.login').click(function(){
>                         var thiscontainer = "#" + this.rel;
>                         $.ajax({
>                                 url: this.href + "&pageName=html",
>                                 cache: false,
>                                 success: function(html){
>                                 $(thiscontainer).append(html);
>                                 }
>                         });
>                         $('.login').fadeOut('slow');
>                         return false;
>                 });
>         });
>
> It works fine in FF2, but in IE7 it just opens the url, instead of
> loading the requested page in the container (div).
>
> I have several other ajax requests that use the same code and they all
> seem to work fine in IE7. Any ideas why this particular request is
> different?  Thanks for the help.

Reply via email to