在javascript中更改警报标题 [英] change alert title in javascript
本文介绍了在javascript中更改警报标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你能帮我用javascript显示自定义标题吗
问候,
Rahul Jain
Hi,
Can you please help me to display custom title in alert using javascript
Regards,
Rahul Jain
推荐答案
您无法修改警报的标题。
JavaScript提示框自定义标题 [ ^ ]
也看到这个讨论 [ ^ ]
You cannot modify the title of the alert.
JavaScript alert box with custom title[^]
also see this discussion[^]
是的,我们无法修改警报的标题。但是我们可以使用类似于模态的DIV和CSS进行自定义警报。
Yes, we cannot modify the title of the alert. But we can have custom alert using DIV & CSS similar to modal ups.
你好
安全性是不可能的,你不能修改标题
我试过这个:(
Hello
It's impossible for security you cannot modify the title
I tried this :(
这篇关于在javascript中更改警报标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文