0
When I ask to open a modal for the first time it does the actions correctly, but when I close and open again the modal it performs the function twice, as I avoid this?
function acoesModal(){
$('div#fixa').css('z-index', '0');
$('.back-captcha').slideDown(500);
$('.captcha').fadeIn(500);
$('body').on('click','.captcha .fechar,.captcha button#retorno',function(event) {
event.preventDefault();
$('div#fixa').removeAttr('style');
$('.back-captcha').slideUp(500);
$('.captcha').fadeOut(300);
$('.captcha form textarea').val('');
});