A
A
asdasdqwe2021-12-18 09:16:23
AJAX
asdasdqwe, 2021-12-18 09:16:23

How does progress work in js?

The user uploads an image, in php we save the image to a folder and return the response.
But how does js know how much is left before the response? Because the size of the pictures can be different.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2021-12-18
@asdasdqwe

https://learn.javascript.ru/xhr-onprogress

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question