mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 17:44:59 -05:00
Fixed #2046 by forcing the dataType to 'html' in the .load() function.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user