Delay function in jquery
I'm pretty new to jquery and I couldn't make .delay work. Can you please
check this fiddle? (note: I don't want to use .queue or .settimeout or any
other method, I want to learn how to use .delay)
http://jsfiddle.net/YMmD7/1/
$(document).ready(function(){
$(".box").click(function(){
$(".box").hide().delay(1000).show();
});
});
No comments:
Post a Comment