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