Answers for "display loader on ajax call"

0

display loader on ajax call

$.ajax({
  url        : url,
  cache      : false,
  beforeSend : function(){
    $('#loading-image').show();
  },
  success: function(html){
    $('#loading-image').hide();
    $('.info').append(html);
  },
});
Posted by: Guest on September-23-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language