Code not running when using ".remove()" function
<p>I'm writing this jquery code :</p>

<pre><code>$('form').after('&lt;p id="suc"&gt;&lt;/p&gt;');
$('#suc').html('success !');
$('#suc').show(700);
setTimeout(function(){$('#suc').hide('slow')},2500);
$('#suc').remove();
</code></pre>

<p>When i remove <code>$('#suc').remove();</code> like this :</p>

<pre><code>$('form').after('&lt;p id="suc"&gt;&lt;/p&gt;');
$('#suc').html('success !');
$('#suc').show(700);
setTimeout(function(){$('#suc').hide('slow')},2500);  
</code></pre>

<p>The code run succefuly, but when i put it, it dosen't run !!</p>

<p>What the problem with that ?
it's illegal to but <code>$('#suc').remove();</code> here ?</p>
