2013-11-22 49 views
0

我有一个小应用程序,需要在提交投诉前提示拨打911。jquery mobile委托警报显示页面名称 - 如何删除?

我使用这个代码:

<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设备上启动。

回答

相关问题