Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. image.appendTo($(".result"))
  2. $button = $('<button class="btn btn-default remove">')
  3. .text('Remove')
  4. .on('click', function () {
  5. image.remove();
  6. $(this).remove();
  7. return false;
  8. });
  9. $button.appendTo($(".result").css("background-image", "url('iphone_5.jpg') no-repeat").css("z-index", "1000"));
  10. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement