aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/ajax.js
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2007-02-07 15:20:30 +0000
committerBrandon Aaron <brandon.aaron@gmail.com>2007-02-07 15:20:30 +0000
commit08ff26927b1a8066ffed432ecc46c4c6010d13cf (patch)
tree054e371b3578413f0622a2fc0d87bf52dff2a0dc /src/ajax/ajax.js
parentecaa4d4570b05610d542b971fc4278de3c251e79 (diff)
downloadjquery-08ff26927b1a8066ffed432ecc46c4c6010d13cf.tar.gz
jquery-08ff26927b1a8066ffed432ecc46c4c6010d13cf.zip
Fix for #914.
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 7eb1b91c3..b513e630d 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.attr("innerHTML", res.responseText)
+ self.html(res.responseText)
// Execute all the scripts inside of the newly-injected HTML
.evalScripts()
// Execute callback