How to perfom action only after animate is finished?
<p>I have my code:</p>

<pre><code>$(this).attr("disabled","disabled");
$(this).animate({'opacity':'0.6'}, 200);
$(this).animate({'opacity':'1'}, 200);
$(this).attr("disabled","");
</code></pre>

<p>I want that the input would be disabled when the <code>keypress</code>'ed and it would be enabled only then, when the animation would be executed.</p>

<p>How can I do that?</p>

<p>Edit: I just realized I could do like that: <code>$(this).delay(200).attr("disabled","");</code>. Is it good practice?</p>
