JavaScript - ajax


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $.ajax({
  2. url: "",
  3. type: "",
  4. dataType: "",
  5. data: {
  6.  
  7. },
  8. success: function (data) {
  9.  
  10. },
  11. error:function (xhr, ajaxOptions, thrownError){
  12. //alert(xhr.status);
  13. //alert(thrownError);
  14. }
  15. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.