Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting percentage of request processed  RSS feed

 
Sameer Sebastian
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am showing a progress bar, after an ajax request.
Is it possible to know the percentage of request processed?
If yes, how?

Thanks in advance,
Sameer
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66186
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a matter for your server code. Does it know how to compute percent complete? If so, fire off regular Ajax requests to obtain the value and update the progress bar.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!