Advertisement
Guest User

Untitled

a guest
Dec 20th, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. var signForm = $.ajax({
  2. type: "POST",
  3. url: "/some/form",
  4. dataType: "JSON",
  5. data: myData
  6. });
  7.  
  8. signForm.done(function(response){
  9. // handle success here
  10. });
  11.  
  12. signForm.fail(function(response){
  13. // handle failure here
  14. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement