X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fajax%2Fajax.js;h=b513e630dc2276c8e796cab4a33e0d9670a00acb;hb=08ff26927b1a8066ffed432ecc46c4c6010d13cf;hp=7eb1b91c30e16403878931b0e1590c067eb753c4;hpb=ecaa4d4570b05610d542b971fc4278de3c251e79;p=jquery.git diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js index 7eb1b91..b513e63 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