如何使JavaScript警报不说页面名称? [英] How to make a javascript alert NOT say the name of the page?

查看:75
本文介绍了如何使JavaScript警报不说页面名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的webapp警报如下:

My webapp alert looks like this:

InputCoordinates.html

InputCoordinates.html

必须填写纬度。

我会说这看起来不专业,而且边缘有些粗糙。有没有办法阻止警报显示页面名称?

I would say this looks unprofessional and rough around the edges. Is there a way to stop the alert from displaying the pagename?

推荐答案

不能进行操作

如果您能够使用jQuery,也许您看看这些称为模式弹出框的混蛋。

You can't manipulate that.
Maybe you take a look at these bastards called modal popups, if youre able to use jQuery.

  • http://jquery.iceburg.net/jqModal/

当然也有非jquery选项。

There are non-jquery options, too, of course.

这篇关于如何使JavaScript警报不说页面名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆