我已经使用标准方法来自定义 jQuery Mobile 1.3.1 中加载器的默认文本:
$(document).on("mobileinit", function () {
$.mobile.selectmenu.prototype.options.hidePlaceholderMenuItems = true;
$.mobile.loader.prototype.options.text = "Loading...";
$.mobile.loader.prototype.options.textVisible = true;
$.mobile.loader.prototype.options.theme = "a";
$.mobile.loader.prototype.options.html = "";
});
这不会导致自定义加载程序显示文本“正在加载...”。