8190

JQuery Internet Explorer and ajaxstop

$(document).ajaxStart(function() {loading.show()}); $(document).ajaxStop(function() {loading.hide()});

How to invoke an event ajaxStop in Internet Explorer? ajaxStart works without problem

Answer1:

You want ajaxComplete

$(document).ajaxComplete(function() {loading.hide()});

http://api.jquery.com/ajaxComplete/

Recommend

  • Ajax Animation JQuery 1.9.2
  • Using $.ajaxStop() to determine when page is finished loading in CasperJS
  • jquery ajax events with classes
  • Can I make my Ajax calls cause an “in-progress” cursor to appear?
  • to implement a spinner in angular2+
  • jquery code not working without breakpoint
  • Best way to dynamically load an xml configuration file into a Flex4/Flash movie at runtime?
  • Suppressing passwd when calling sqlplus from shell script
  • WPF ICommand CanExecute(): RaiseCanExecuteChanged() or automatic handling via DispatchTimer?
  • Tamper-proof configuration files in .NET?
  • How do I get HTML corresponding to current DOM tree?
  • d3 v4 drag and drop with TypeScript
  • JSON response opens as a file, but I can't access it with JavaScript
  • Use of this Javascript
  • Android full screen on only one activity?
  • How to delay loading a property with linq to sql external mapping?
  • Cannot connect to cassandra from Spark
  • Why ng-show works with ng-repeat but ng-if doesn't? [duplicate]
  • Optimizing database types to compact database (SQLite)
  • How do I fake an specific browser client when using Java's Net library?
  • Opengl-es onTouchEvents problem or a draw problem? [closed]
  • Sending data from AppleScript to FileMaker records
  • Change an a tag attribute in JavaScript based on screen width
  • Alternatives to the OPTIONAL fallback SPARQL pattern?
  • Do I've to free mysql result after storing it?
  • QuartzCore.framework for Mono Develop
  • Python - Map / Reduce - How do I read JSON specific field in using DISCO count words example
  • Warning: Can't call setState (or forceUpdate) on an unmounted component
  • bootstrap to use multiple ng-app
  • How to get icons for entities from eclipse?
  • ExecuteAsync RestSharp to allow backgroundWorker CancellationPending c#
  • KeystoneJS: Relationships in Admin UI not updating
  • AngularJs get employee from factory
  • Load html files in TinyMce
  • Turn off referential integrity in Derby? is it possible?
  • Linking SubReports Without LinkChild/LinkMaster
  • JaxB to read class hierarchy
  • Net Present Value in Excel for Grouped Recurring CF
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize
  • How to load view controller without button in storyboard?