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

jquery - Can i close confirm box in javascript code - Stack Overflow

programmeradmin0浏览0评论

I need to close confirm box after some timeout. So can i do that? If we can;t do this then I like to use jquery dialogue. Can we make that dialogue as similar to confirm box?

I need to close confirm box after some timeout. So can i do that? If we can;t do this then I like to use jquery dialogue. Can we make that dialogue as similar to confirm box?

Share Improve this question asked Jun 9, 2011 at 18:56 vishnuvishnu 5874 gold badges15 silver badges34 bronze badges 2
  • Yes, you can style the jquery dialog similar to the confirm box. No, you can't close the confirm automatically. – Niklas Commented Jun 9, 2011 at 18:57
  • Very similar to this question: stackoverflow./questions/463368/javascript-close-alert-box – Ed . Commented Jun 9, 2011 at 18:59
Add a ment  | 

1 Answer 1

Reset to default 5

No, you can't, the user is the only one allowed to interact with the built in confirmation. Doing one with jQuery isn't too bad though:

http://jqueryui./demos/dialog/#modal-confirmation

发布评论

评论列表(0)

  1. 暂无评论