Guest User

Untitled

a guest
Jun 21st, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. $.ajax({
  2. type: "POST",
  3. url: ajaxurl+ajaxcall,
  4. cache: false,
  5. data: sendData,
  6. success: function(data){
  7. var obj = $.parseJSON(data);
  8.  
  9. if(obj)
  10. {
  11. itechAjaxResponse(obj,iCall,sendData);
  12. }
  13.  
  14. },
  15. error: function(data){
  16. alert('Error while request..');
  17. }
  18. });
Add Comment
Please, Sign In to add comment