Fix for #914.
authorBrandon Aaron <brandon.aaron@gmail.com>
Wed, 7 Feb 2007 15:20:30 +0000 (15:20 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Wed, 7 Feb 2007 15:20:30 +0000 (15:20 +0000)
src/ajax/ajax.js

index 7eb1b91..b513e63 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.attr("innerHTML", res.responseText)
+                                       self.html(res.responseText)
                                          // Execute all the scripts inside of the newly-injected HTML
                                          .evalScripts()
                                          // Execute callback