I have a script that removes the h4 element and then animates the hidden form in its place. I am trying to check if the h4 element has been deleted, so if the same button is pressed and the form is visible, it will be animated.
Here is the first part of my code
$('#editMapItem h4').remove();
source
share