When I try to get html back from a ajax request I get multiple �. Why is this and how to correct it?
$.ajax
({
type: 'POST',
url: Generic.ajaxSluice,
dataType: "html",
data:
{
param: paramArr
},
success:function(response)
{
console.log(response);
}
});
This code gives me this response in the console:
[["������������������������...����������������������0", "../upload/images/Untitled-2.png"], ["1", "../upload/images/j.png"], ["2", "../upload/images/peppe.png"], ["�����������������������������������������"]]