开发者

How can I change the title message of an alert box in JavaScript? [duplicate]

This question already has answers here: How to edit a JavaScript alert box title? (10 answers) Closed 3 years ago.

How开发者_StackOverflow中文版 can I change the title message of an alert box in JavaScript?


This can not be done using javascript. But this can be done using jQuery. May be this url can help u.

http://labs.abeautifulsite.net/projects/js/jquery/alerts/demo/


This cannot be done. The title is browser dependent and you have no control over it. On the other hand you could implement your own alert box using divs and customize it as you like. Here's an example using the jquery dialog plugin.


I am pretty sure this is outside of your control and can not be changed


This earlier question has some good suggestions in the answers : how-to-edit-a-javascript-alert-box-title

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜