Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. $('div a').on('click', function() {
  2. var $this = $(this),
  3. $bc = $('<div></div>');
  4.  
  5. $this.parent('div').each(function(n, div) {
  6. var $a = $(div).children('a').clone();
  7. $bc.prepend(' > ', $a);
  8. });
  9. $('.panel-header').html( $bc.prepend('<div>FullPicture ></div>') );
  10. return false;
  11. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement