0
I have a notification button on my software where I wanted it to automatically update itself. So I made the following code:
setTimeout(mostrarNotificacao, 90000);
function mostrarNotificacao(){
//function mostrarModal(idPedidos){
$(document).ready(function() {
var url = "../../componentes/php/ff_notificacao_php.php";
$('.modal-content').load(url,
function(resultado){
$('#conteudoNotificacao').html(resultado);
});
});
}
But until the 1.5 minutes the button does not appear, after this appears, there is some better way to do this?
Voce wants it to appear at first, and then at intervals?
– Lucas Torres
That’s what I’m talking about
– Gabriel Filippi