Hi,

Try bellow script with a button :

echo "<script>
if ($('#id_div_interativ_search').is(":visible&q...