jq-ajax-progress | jQuery plugin that adds support of progress promise | Plugin library
kandi X-RAY | jq-ajax-progress Summary
kandi X-RAY | jq-ajax-progress Summary
jQuery plugin that adds support of `progress` promise
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jq-ajax-progress
jq-ajax-progress Key Features
jq-ajax-progress Examples and Code Snippets
Community Discussions
Trending Discussions on jq-ajax-progress
QUESTION
I want to display the progress of a PHP function in my webbrowser. One solution would be to put the progress in the database and poll for it while the AJAX function waits for a response, but I was wondering if there's a better and cleaner way of doing this.
I've looked into this plugin which adds a progress
promise to the AJAX call in jQuery, but it only seems to support uploads and downloads.
To illustrate what I would like to achieve, my AJAX call looks something like this:
...ANSWER
Answered 2017-Jan-31 at 16:37A better approach will be to use Websockets (Ratchet WebSockets for PHP)
Create a Websocket server in PHP, then register that Websocket on webpage using javascript
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jq-ajax-progress
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page