PHPackages                             ilopx/jquery-ajax-progress - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ilopx/jquery-ajax-progress

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ilopx/jquery-ajax-progress
==========================

Simple patch that adds a 'progress' callback to jquery Ajax calls

1.2.1(10y ago)3194MITJavaScript

Since Aug 23Pushed 10y ago2 watchersCompare

[ Source](https://github.com/ilopX/jquery-ajax-progress)[ Packagist](https://packagist.org/packages/ilopx/jquery-ajax-progress)[ RSS](/packages/ilopx-jquery-ajax-progress/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Jquery Ajax Progresss
=====================

[](#jquery-ajax-progresss)

A simple patch to jQuery that will call a 'progress' callback, using the [XHR.onProgress](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest#Monitoring_progress) event

Video demo
----------

[](#video-demo)

[![Video Demo](https://camo.githubusercontent.com/b857586ae0472a0a56af6b66d754a328a9b406bc07775fbaf5d0c72318b01425/687474703a2f2f696d672e796f75747562652e636f6d2f76692f775f4e4d4a724f62376e342f302e6a7067)](http://www.youtube.com/watch?v=w_NMJrOb7n4)

Install and use
---------------

[](#install-and-use)

### a. CDN

[](#a-cdn)

[**jquery.ajax-progress.js**](https://cdn.rawgit.com/ilopX/jquery-ajax-progress/master/dist/jquery.ajax-progress.js)or [**jquery.ajax-progress.min.js**](https://cdn.rawgit.com/ilopX/jquery-ajax-progress/master/dist/jquery.ajax-progress.min.js)

Include the script on your page:

```

```

or

```

```

### b. Install

[](#b-install)

```
bower install ilopx-jquery-ajax-progress

```

```
composer require ilopx/jquery-ajax-progress

```

Use simple template script
--------------------------

[](#use-simple-template-script)

[**template.js**](https://github.com/ilopX/jquery-ajax-progress/blob/master/dist/template.js)

```
$(function() {
    $.ajax({
        method: 'GET',
        url: '', // TODO: add url
        data: {
            // TODO: add data
        },
        success: function() {
            // TODO add message all ok
        },
        error: function() {
            // TODO add message error
        },
        progress: function(e) {
            if(e.lengthComputable) {
                var progress = e.loaded / e.total * 100;
                var content = e.srcElement.responseText;
            }
            else {
                // TODO add message error 'Content Length not reported!';
            }
        }
    });
});
```

Notes
-----

[](#notes)

- This will not work using the `file://` protocol, see [XMLHttpRequest - Monitoring Progress](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest#Monitoring_progress) for more info.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3958d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbeb16e138e09576fd322a216185b57744e5217c8fb944cb5f90d1fc53eecf20?d=identicon)[ilopX](/maintainers/ilopX)

---

Top Contributors

[![englercj](https://avatars.githubusercontent.com/u/944497?v=4)](https://github.com/englercj "englercj (4 commits)")[![RaphaelDDL](https://avatars.githubusercontent.com/u/1087109?v=4)](https://github.com/RaphaelDDL "RaphaelDDL (1 commits)")[![snoj](https://avatars.githubusercontent.com/u/391184?v=4)](https://github.com/snoj "snoj (1 commits)")

### Embed Badge

![Health badge](/badges/ilopx-jquery-ajax-progress/health.svg)

```
[![Health](https://phpackages.com/badges/ilopx-jquery-ajax-progress/health.svg)](https://phpackages.com/packages/ilopx-jquery-ajax-progress)
```

###  Alternatives

[fedemotta/yii2-widget-datatables

DataTables widget for Yii2

34182.9k1](/packages/fedemotta-yii2-widget-datatables)[bacularis/bacularis-app

Bacularis - The Bacula web interface

254.4k](/packages/bacularis-bacularis-app)[bacularis/bacularis-web

Web files for Bacularis - The Bacula web interface

103.9k6](/packages/bacularis-bacularis-web)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
