Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

display loader on ajax call

$.ajax({
  url        : url,
  cache      : false,
  beforeSend : function(){
    $('#loading-image').show();
  },
  success: function(html){
    $('#loading-image').hide();
    $('.info').append(html);
  },
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #display #loader #ajax #call
ADD COMMENT
Topic
Name
7+8 =