Added back in the .load() fix.
authorJohn Resig <jeresig@gmail.com>
Sun, 14 Jan 2007 20:07:36 +0000 (20:07 +0000)
committerJohn Resig <jeresig@gmail.com>
Sun, 14 Jan 2007 20:07:36 +0000 (20:07 +0000)
src/ajax/ajax.js

index d126bc4..3450843 100644 (file)
@@ -77,7 +77,7 @@ jQuery.fn.extend({
                        complete: function(res, status){
                                if ( status == "success" || !ifModified && status == "notmodified" )
                                        // Inject the HTML into all the matched elements
-                                       self.html(res.responseText)
+                                       self.attr("innerHTML", res.responseText)
                                          // Execute all the scripts inside of the newly-injected HTML
                                          .evalScripts()
                                          // Execute callback