Clearing message jQuery delay setTimeout
<p>How could I clear the field message after a couple seconds using delay jQuery function instead of setTimeout? The code below will clear value immediately.</p>

<pre><code>    var $this = $(this),
            mid = $this.find("#emid"),
            contents = $this.find("#equestion");    

    if(contents.length&lt;30){
      contents.css('color','red')
      .val('Error Message')
      .delay(5000)
      .val('');
      }
</code></pre>
