faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

22 of 42 people (52%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

How to close a alert box without clicking OK

Apr 8th, 2008 19:15
ha mo, Dave Clark, Mahendra Patel`,


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mahendra,
     It is not possible for JavaScript to close an alert() box without 
requiring the user to click the OK button.  The reason for this has to 
do with security.  Sorry.
Take care,
Dave Clark
www.DaveClarkConsulting.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com