Skip to content

Instantly share code, notes, and snippets.

@impronunciable
Created December 7, 2011 20:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save impronunciable/1444483 to your computer and use it in GitHub Desktop.
$('#peron').click(function(e){
e.preventDefault();
$('#ul1 li').each(function(){
var img = $('<img />');
img.attr('src', $(this).attr('href' );
$(this).before(img);
$(this).remove();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment