Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. $(function(){
  2. $(document.body).bind('mouseup', function(e){
  3.  
  4. //do something
  5.  
  6. });
  7. $('#popupclose').click(function(){
  8.  
  9.  
  10. //do something else
  11.  
  12. });
  13.  
  14. });
  15.  
  16. "permissions": [
  17. "https://*/",
  18. "http://*/"
  19. ]
  20.  
  21. var xhr = new XMLHttpRequest();
  22. xhttp.onreadystatechange = function() {
  23. if (this.readyState == 4 && this.status == 200) {
  24. //perform the jquery function
  25. }
  26. };
  27. xhttp.open("GET", "url-link", true);
  28. xhttp.send();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement