I'm having trouble with jQuery events on time. I've already used all best practices to stop the click event. Here are some examples:
.off()
e.preventDefault();
e.stopPropagation();
unbid('click');
Always when there is a click I do this function
function LoadingTela(botao,tipo) {
if (tipo == true) {
$(botao).prop("disabled", true);
$('.mask-loading').show();
}else {
$(botao).prop("disabled", false);
$('.mask-loading').hide();
}
}
Has anyone come up with any solution or new event control?