daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest Jul 21st, 2017 441 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <a class="hover-contact-box lowercase">f11111@gmail.com</a>
  2.    
  3. document.getelementsbyclassname("hover-contact-box.lowercase").setAttribute('href', 'mailto:yourmailid@gmail.com?subject=Hello Everyone&body=Just want to say hello to you all!!');
  4.    
  5. var elem = $('a.hover-contact-box.lowercase');
  6. elem.attr('href', 'mailto:yourmailid@gmail.com?subject=Hello Everyone&body=Just want to say hello to you all!!');
  7.    
  8. var email = $('a.hover-contact-box.lowercase');
  9. email.attr('href', 'mailto:' + email.text());
  10.    
  11. <a href="mailto:youremail">email text</a>
  12.    
  13. document.getElementsByClassName("hover-contact-box lowercase")[0].setAttribute("href", "mailto:yourmail");
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top