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

Follow me on twitter @reallifejquery Follow reallifejquery on Twitter


Thursday, May 20, 2010

jQuery sayings

$('.ladies').first();
$('#age').before('#beauty');
$('#godliness').next('#cleanliness');
alert($('.blessings').size());
$(self).delay(999999).add('.goodthings');
$(':not(visible)').each(function() {
 $('#mind').remove($(this));
});
if ($('.wheel .squeaky')) $('#grease').get();

// And a couple of cheaty ones that I couldn't resist...
$(self).live('sword', function () { die('sword'); });
$(self).animate({
 haste: +100,
 speed: -100
});

No comments:

Post a Comment