aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/ajax.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-01-14 20:07:36 +0000
committerJohn Resig <jeresig@gmail.com>2007-01-14 20:07:36 +0000
commit259131966049cd879dbcecf222afe1457b03db60 (patch)
tree783c1d8876380edc575dd614f2294d17b801b21d /src/ajax/ajax.js
parent382a7ecd6d8e9a39bf24cec81fd65971ef3f8ada (diff)
downloadjquery-259131966049cd879dbcecf222afe1457b03db60.tar.gz
jquery-259131966049cd879dbcecf222afe1457b03db60.zip
Added back in the .load() fix.
Diffstat (limited to 'src/ajax/ajax.js')
-rw-r--r--src/ajax/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js
index d126bc404..34508437a 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