Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $("a.btn").click(function() {
  2.       var name = $(this).text();
  3.       var head = $(this).data('header');
  4.       $('.send').find('.btn').text(name);
  5.       $('.send').find('.small').text(head);
  6.   });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement