2

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?

vishnu
  • 567
  • 3
  • 14
  • 34
  • Yes, you can style the jquery dialog similar to the confirm box. No, you can't close the confirm automatically. – Niklas Jun 09 '11 at 18:57
  • Very similar to this question: http://stackoverflow.com/questions/463368/javascript-close-alert-box – Ed . Jun 09 '11 at 18:59

1 Answers1

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.com/demos/dialog/#modal-confirmation

Milimetric
  • 13,411
  • 4
  • 44
  • 56