Skip to content

sash/jquery-ajax-progress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Ajax Progress

Push chunks of data from the backend and handle them in the frontend before the ajax request is actually finished

Example: // In the javascript $ajax({ type: "GET", url: 'example.php', progress: function(update){ // update contains a string of the newly received data console.log(update); }, })

// In example.php

What's the data format? The first line is a separator string. Each chunk of data is fallowed by the separator line. See the helper function defined in yield.php.

For a complete working example checkout the repo and open example.html in your browser.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors