Skip to content

Instantly share code, notes, and snippets.

@revelation
Created January 19, 2010 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save revelation/281176 to your computer and use it in GitHub Desktop.
Save revelation/281176 to your computer and use it in GitHub Desktop.
$(document).ready(function() {
$('.pretty_bird').livequery(function() {
turnPink(this);
});
$('.whos_pretty').load('/mo_pretty.html');
});
function turnPink(element) {
$(element).attr('style','background:pink;')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment