From 259131966049cd879dbcecf222afe1457b03db60 Mon Sep 17 00:00:00 2001 From: John Resig Date: Sun, 14 Jan 2007 20:07:36 +0000 Subject: [PATCH] Added back in the .load() fix. --- src/ajax/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js index d126bc4..3450843 100644 --- a/src/ajax/ajax.js +++ b/src/ajax/ajax.js @@ -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 -- 1.7.10.4