Advertisement
dimti

Untitled

Feb 3rd, 2016
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         $.ajax({
  2.             type: 'post',
  3.             url: 'path/to/ajaxroute',
  4.             data: {param1: 'value', param2: 'value'},
  5.             complete: function (xhr) {
  6.                 alert(xhr.responseText);
  7.             }
  8.         });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement