I have the following line that sends me a success message with div
, but some penalties I can read the message.
$('.message').html(textStatus).delay(60000).fadeOut(60000);
location.href = 'exito.php';},60000);
Unlike location.href = 'exito.php';},60000);
that redirects in a minute.
I add the same value:
$('.message').html(textStatus).delay(60000).fadeOut(60000);
But the message is hidden in less than 7 seconds.
How can I change the delay the message disappears for 30 seconds or even a minute? Like the location
that does work correctly.