3 ms·
Show Your Work: Don’t forget ‘loading’ indicators
- NTripleOne 10y agoHere's a very simple catch-all JS snippet I have laying around for web stuff, assuming you're AJAXing stuff in (and using jquery). $(document).on({ ajaxStart: function() { /* code */ }, ajaxStop: function() { /* more code */ } });