Advertisement
Guest User

Untitled

a guest
Feb 28th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. var doAjax(link){
  4.   return $.ajax({
  5.     type: POST,
  6.     url : "https://www.foaas.com/" + link
  7.     data: JSON
  8.   });
  9. }
  10.  
  11.  
  12. $((=>) {
  13.  
  14.   doAjax("zero").done((response) => {
  15.     // hier komt je code
  16.   })
  17.  
  18. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement