How can I visually simulate a button being clicked with jQuery
<p>I have the following code that was suggested to me earlier today:</p>

<pre><code>$(window).keypress(function (e)
{
  if (e.keyCode == 13)
  {
      $('#doCheck').focus().click();
   }
});
</code></pre>

<p></p>

<p>One user in another post said that this would make a button appear to animate and be clicked. When I tried it does have some effect but at least in Firefox it still does not make the button appear as though it's being clicked. Has anyone been able to make a button look like it's physically clicked with jQuery?  </p>
