please help me with this problem.
I use ajax search on my site. I want to create an overlay div with class active that be displayed after ajax filling the field with results (height change). at the beginning I have an empty div element with height = 0
<div id="search-results" style="height: 0px;"></div>
After entering the search phrase, Ajax will fill this field with references.
<div id="search-results" style="height: 250px;"><a></a><a></a><a></a></div>
How do I detect this dynamic height change of this field? and conversely, if the amount is again changed to 0, the overlay div will disappear.
thx