Check if element has been removed JQuery
<p>I have script that removes an h4 element then animates a hidden form in its place.
I am trying to check if the h4 element has been removed so that if the same button is pressed ,while the form is visible, it will then animate out.</p>

<p>Here is the first part of my code</p>

<pre><code>$('#editMapItem h4').remove();
</code></pre>
