$.messager.progress();
pbHandler = $.ajax({
url: 'php_script/report/report_trip.php',
type: 'POST',
dataType: 'json',
data: data,
success: function (objects)
{
}
}).always(function () {
console.log("complete");
$.messager.progress('close');
});
alwaays get error:
jquery.easyui.min.js:3925 Uncaught TypeError: Cannot read property 'onClose' of undefined
when twich call ajax, messenger won't closed
Problem Solve
when tile or msg set, problem gone!!!
$.messager.progress({
title:'Please waiting',
msg:'Loading data...'
});