jquery hide element not working
<p>I searched SO for a fix for this, found it, but my implementation seems flawed. Any clues?</p>

<pre><code> $(document).ready(function(){
  $('#updt').ajaxForm(function(data) {
   if (data==1){
    $('#success').fadeIn("slow");
    $('#updt').resetForm();
        setTimeout(function() {
     $("#success").hide('blind', {}, 500)
     }, 5000);

   }
   else if (data==2){
    $('#badserver').fadeIn("slow");
   }
   else if (data==3)
   {
    $('#bademail').fadeIn("slow");
   }
  });
 });
</code></pre>
