This is a random list of jQuery code that roughly reflects real life.

Follow me on twitter @reallifejquery Follow reallifejquery on Twitter


Sunday, May 23, 2010

Hide and go seek with jQuery

$('#seeker').delay(100);
$('.friends').hide();
$('.friends').each(function() {
   $('#seeker').find(this).show();
})

No comments:

Post a Comment