Advertisement
enissay

Enissay

Aug 21st, 2014
322
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. xhr.push($.ajax({
  2.         url: "php/searchMe.php",
  3.         dataType: "text",
  4.         data: encodeURI("...."),
  5.         type: "POST",
  6.         beforeSend: function(jqXHR, settings) {
  7.             /*** Do stuffs **/
  8.         }
  9.     }).done(function(data) {
  10.         /*** Do other stuffs **/
  11.     }
  12. ));
Advertisement
RAW Paste Data Copied
Advertisement