Problem div click

Problem div click

luizgokaluizgoka Posts: 5Questions: 1Answers: 0

Hello,

I have the following problem my div doesn't fire the event click on second page and i'm using jquery delegate.

445 whats enviado Alessandra Fernandes Andrea Pires 29/10/2015 usuário não atendeu (mensagem) 29/10/2015 15:45:41
    $("#clients tbody").on("click", 'td div', function () {
        var isChecked = $(this).attr('aria-checked');
        if (isChecked === "false")
            return false;
        else {
            ajaxBlockUI();
            var url = '/Report/FinalizarFollowUp?id=' + $(this).find('input[type="hidden"]').val();
            var tr = $(this).parent();
            $.ajax({
                type: 'POST',
                url: url,
                dataType: "json",
                cache: false,
                async: true,
                success: function (data) {
                    $(tr).find('td').eq(7).html('<strong>Finalizado</strong>');
                    unblockUI();
                    showDialogConfirm(data);
                }

            });
            return false;
        }
    });

Replies

This discussion has been closed.