我们是否应该更改Java脚本警报框标题? [英] Shall we Change the java script alert box title?

查看:59
本文介绍了我们是否应该更改Java脚本警报框标题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要更改Java脚本警报框标题.有可能改变吗?在默认"中,警报框标题为"Internet Explore".

如果有人知道,请告诉我.

谢谢
Dhanasekaran

i need to change the java script alert box title. is it possible to change?. In Default the alert box title as Internet Explore.

If any one Know,please tell me.

Thanks
Dhanasekaran

推荐答案

您可以使用所选的某些代码覆盖警报功能

提供跨浏览器兼容结果的唯一方法是使用类似 jquery警报 [ ^ ]绘制自己的窗口,然后覆盖window.alert函数以调用jquery.alert
You can override the alert function with some code of your choice

The only way to provide a cross-browser compatible result would be to to use something like jquery alerts[^] to draw your own window, then override the window.alert function to call jquery.alert instead


这篇关于我们是否应该更改Java脚本警报框标题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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