daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Feb 21st, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. function clicktoDisable(link) {
  3.      // disable subsequent clicks
  4.      link.onclick = function(event) {
  5.         event.preventDefault();
  6.      }
  7.    }  
  8. </script>
  9. <a href="target.html" onclick="clicktoDisable(this);">Click here</a>
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