因为您正在使用AJAX加载建议,所以我认为这应该对您有用:
$('#loading_field').ajaxStart(function () { $(this).show();}).ajaxStop(function () { $(this).hide();});
因为您正在使用AJAX加载建议,所以我认为这应该对您有用:
$('#loading_field').ajaxStart(function () { $(this).show();}).ajaxStop(function () { $(this).hide();});