所以我进行了三重检查,我正在从Google CDN加载jQuery 1.10.2,我正在加载jQuery.blockUI.js。我不确定是什么问题。
// unblock when ajax activity stops
$(document).ajaxStop($.unblockUI);
// Loads the Recipe Processing Modal
$(document).ready(function() {
$('#ninja_forms_field_50').click(function() {
$.blockUI({ message: $('#rLo') });
});
});
$(document).ajaxStop(function() {
$.unblockUI();
});