在javascript中更改警报标题

编程入门 行业动态 更新时间:2024-10-11 17:22:12
本文介绍了在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中更改警报标题

本文发布于:2023-11-27 17:51:25,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1639008.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:警报   标题   javascript

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!