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

Any way to set the confirmation prompt (confirm() in javascript) box's title? At the moment it wil

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743640121a4482819.html

相关推荐

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

    Any way to set the confirmation prompt (confirm() in javascript) box's title? At the moment it wil

    1天前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信