By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,932 Members | 1,511 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,932 IT Pros & Developers. It's quick & easy.

Auto close confirm alert

mageswar005
P: 72
Hello sir,
In my application for security reason i was set the session countdown timer, After the session completed i have triggered the confirm message
(ok | cancel).if user click ok means session is continued or cancel means application is logged out. In this scenerio i want to close the confirm message box automatically after 10 seconds.How can i do this ,can some one help to solve this issue quickly.

Regards,
M.Mageswaran
Dec 19 '08 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
This won't be possible with the default confirm() method, but you can create your own version using DHTML which you can control.
Dec 19 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.