Guest User

Untitled

a guest
Mar 29th, 2020
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <button onmousedown="myevent('on');" onmouseup="myevent('stop');">LED ON;/button>
  2.  
  3. <script>
  4. function myevent(x) {
  5. var xhr = new XMLHttpRequest();
  6. xhr.open("GET", "/action?go=" + x, true);
  7. xhr.send();
  8. }
  9. </script>
RAW Paste Data