I'm having a hard time finding a way to block multiple toggles in my code. That is when the client clicks several times on the toggle field, the field appears and disappears several times. I would like to know how I can get it to open or close the field only when the action is not running.
Toogle code:
<script>
(document).ready(function(){
$(".botao").click(function(){
$(this).children( ".classe" ).slideToggle();
});
});
</script>
Thanks in advance!