Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var signForm = $.ajax({
- type: "POST",
- url: "/some/form",
- dataType: "JSON",
- data: myData
- });
- signForm.done(function(response){
- // handle success here
- });
- signForm.fail(function(response){
- // handle failure here
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement