How can I cancel an alert box?
<p>I can display an alert box as follows: <code>alert('Please wait 5 seconds');</code>.</p>

<p>Is there a way to remove this alert box after 5 seconds if the user has not clicked "OK" by that time using JavaScript?</p>
