Connecting Tech Pros Worldwide Forums | Help | Site Map

Auto close confirm alert

mageswar005's Avatar
Member
 
Join Date: Mar 2008
Location: chennai
Posts: 70
#1: Dec 19 '08
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

acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Dec 19 '08

re: Auto close confirm alert


This won't be possible with the default confirm() method, but you can create your own version using DHTML which you can control.
Reply