I have an AJAX function that works on several pages, except for a page that uses HTTPS:
$.ajax({
url : url,
type : "get",
async: false,
success : function(result) {
console.log("Status AJAX: " + result.resultStatus);
if(result.resultStatus == 'SUCCESS'){
$('#div-select-filter-ligth-box').html(
$('#select-ligth-box-template').tmpl({
lista : result.list
})
);
}
return false;
},
error: function() {
console.log('AJAX Error');
}
});
I have already debugged the function and the AJAX returns this data. Does anyone know the cause of this problem?