How can I change the title message of an alert box in JavaScript? [duplicate]
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
精彩评论