Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. $.fn.answer = function() {
  2. return this.each(function() {
  3. this.innerHTML = "Google is your friend";
  4. });
  5. }
  6.  
  7. $.fn.greenify = function() {
  8. this.css( "color", "green" );
  9. };
  10.  
  11. $( "a" ).greenify();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement