title: How to set timeout on alert message?
body: <p><strong>Statement</strong></p>
  
  <p>I would like to set a timeout on the alert message if the user didn't close the box within 15 seconds.</p>
  
  <pre><code>&lt;?php
      if (isset($_SESSION['message'])): ?&gt;
       &lt;div id="Alert" class="alert alert-&lt;?=$_SESSION['msg_type']?&gt; alert-dismissible fade show" role="alert"&gt;
            &lt;button type="button" class="close" data-dismiss="alert"&gt;&lt;span style="font-size:1em;"&gt;&amp;times;&lt;/span&gt;&lt;/button&gt;
            &lt;center&gt;&lt;?php echo $_SESSION['message'];?&gt;&lt;/center&gt;
            &lt;?php unset($_SESSION['message']); ?&gt;
       &lt;/div&gt;
  &lt;?php endif ?&gt;
  
  &lt;script&gt;
  //set timeout here...
  &lt;/script&gt;
  </code></pre>