最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Set confirmation prompt box's title - Stack Overflow

programmeradmin2浏览0评论

Any way to set the confirmation prompt (confirm() in javascript) box's title? At the moment it will display the confirmation prompt box's title to "Windows Internet Explorer" if it run in IE and "the page at http://... said: " in Firefox.

Any way to set the confirmation prompt (confirm() in javascript) box's title? At the moment it will display the confirmation prompt box's title to "Windows Internet Explorer" if it run in IE and "the page at http://... said: " in Firefox.

Share Improve this question edited Apr 7, 2009 at 7:26 eyelidlessness 63.5k12 gold badges92 silver badges95 bronze badges asked Apr 7, 2009 at 5:44 Jin YongJin Yong 43.8k72 gold badges144 silver badges194 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 9

Neither Mozilla nor IE support setting a title, as indicated in the linked specs.

It is not possible according to specs. May I suggest that you use a JavaScript modal box instead.

I've used wildbit labs' Modalbox which works quite well.

发布评论

评论列表(0)

  1. 暂无评论