Prototype - how to hold call hide () for 10 seconds

I have the following code:

$('message').show(); $('message').hide(); 

How to add a 10 second delay between showing and hiding a prototype?

thanks

+6
javascript prototypejs
source share
2 answers
 $('message').show(); Element.hide.delay(10, 'message'); 
+4
source share

You can use delay function

+5
source share

All Articles