Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- type: 'post',
- url: 'path/to/ajaxroute',
- data: {param1: 'value', param2: 'value'},
- complete: function (xhr) {
- alert(xhr.responseText);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement