【问题标题】:jquery mobile delegate alert shows page name - how to remove?jquery 移动委托警报显示页面名称 - 如何删除?
【发布时间】:2023-04-05 12:51:01
【问题描述】:

我有一个小应用程序,需要在提交投诉之前提示拨打 911。

我正在使用此代码:

 <script type="text/javascript">
$( document ).delegate("#index", "pagebeforecreate", function() {
  alert("If this is an emergency, dial 911");
});
  </script>

这可行,但是,应用程序会显示“index.html”并在其下方显示警报。 如何删除“index.html”部分?

页面使用phonegap、jquery mobile,并在ios设备上启动。

【问题讨论】:

    标签: jquery ios mobile cordova


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 2016-09-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-11-22
      • 2011-12-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多