Hi,
I have the following code:
$('message').show();
$('message').hide();
How do I add a 10 second delay between the show and hide in prototype?
Thanks
Hi,
I have the following code:
$('message').show();
$('message').hide();
How do I add a 10 second delay between the show and hide in prototype?
Thanks
I don't know prototype but this is simple with pure JS:
$('message').show();
setTimeout(function(){$('message').hide();}, 10000);