Skip to main content

Bug Tracker

Side navigation

#435 closed bug (fixed)

Opened November 25, 2006 09:00AM UTC

Closed November 26, 2006 10:32AM UTC

Last modified June 20, 2007 01:55AM UTC

ajaxStop throws 'null' is null or not a valid object in IE

Reported by: joern Owned by:
Priority: major Milestone:
Component: ajax Version:
Keywords: Cc:
Blocked by: Blocking:
Description

Testcase:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <title>Test ajaxStop on IE</title>
        <script type="text/javascript" src="jquery.js"></script>
    </head>
    <body>
        <p>click me</p>
        <script type="text/javascript">
            var root = $("p").before('<div id="feedback">').prev("div").attr("style", "color:#0f0; border:1px solid #0f0").hide();
            $(document).ajaxStop(function() {
            	root.html("successfully updated").show();
            });
            
            $("p")
            .bind("click", function() {
            	var x = this;
                root.html("updating...");
                $.ajax({
                    type: "POST",
                    url: "dummy.php",
                    dataType: "html",
                    success: function(d) {
                        $(x).html(d);
                    }
                });
            });
        </script>
    </body>
</html>
Attachments (0)
Change History (1)

Changed November 26, 2006 10:32AM UTC by joern comment:1

resolution: → fixed
status: newclosed

Fixed in SVN.