title: Fade in jquery div show
body: <p>I am trying to get the below script to fade in and fade out with a delay in between. It shows the div correctly and fades out as it should, but it doesn't fade in? </p>
  
  <pre><code>&lt;?php
  if(isset($_GET['updated'])) { ?&gt;
  &lt;div id='updated'&gt;&lt;p&gt;The product was successfully added to your Shopping Cart&lt;/p&gt;&lt;/div&gt;
  &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  $('#updated').fadeIn(800).delay(3000).fadeOut(800)
  &lt;/script&gt;
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>Many thanks!</p>