daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 73 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. function eventlistener() {
  2.     var bns = document.getElementsByTagName('button');
  3.     for (var i = 0; i < bns.length; i++) {
  4.         bns[i].addEventListener('click', function() {
  5.         bns[i].value(bns[i].getAttribute("data-text").toString);
  6.     },false);
  7.     }
  8. }
  9.  
  10. window.addEventListener("load",function() {
  11.     eventlistener();
  12. });
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