Fixed #2046 by forcing the dataType to 'html' in the .load() function.

This commit is contained in:
David Serduke 2007-12-14 17:06:41 +00:00
parent 56a93fc2cc
commit 06c2f06a21
2 changed files with 24 additions and 10 deletions

View file

@ -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