Showing posts with label show(). Show all posts
Showing posts with label show(). Show all posts

Tuesday, February 10, 2015

How can I use delay() with show() and hide() in Jquery

<div style="display:none">Show me!
<span>Hide me!
</span>
</div>

$('div').delay(2000).show(0);
$('span').delay(3000).hide(0);