Skip to content

Instantly share code, notes, and snippets.

@tfogo
Created October 20, 2013 21:44
Show Gist options
  • Save tfogo/7075705 to your computer and use it in GitHub Desktop.
Save tfogo/7075705 to your computer and use it in GitHub Desktop.
// This is why everyone needs jQuery in their lives...
$('img').each(function(){$(this).attr('src','http://www.placekitten.com/'+(Math.floor(Math.random()*100)+150)+'/'+(Math.floor(Math.random()*100)+150))});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment