git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed #2046 by forcing the dataType to 'html' in the .load() function.
[jquery.git]
/
src
/
ajax.js
diff --git
a/src/ajax.js
b/src/ajax.js
index
80cabd3
..
a5a08ec
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-34,6
+34,7
@@
jQuery.fn.extend({
jQuery.ajax({
url: url,
type: type,
+ dataType: "html",
data: params,
complete: function(res, status){
// If successful, inject the HTML into all the matched elements