C
C
Caspergreen2018-04-03 15:24:36
JavaScript
Caspergreen, 2018-04-03 15:24:36

How to make progress bar, yii2 + ajax?

There is an ajax request

$.ajax({
                url: "converter/progress",
                dataType: "JSON",
                data: {file:file},
        
                success: function(data){
                    //console.log(data);
                }
        
            });

converter/progress - returns data 1,2,3 etc. how to display progress bar with update?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Korobkov, 2018-04-03
@BorisKorobkov

getbootstrap.ru/docs/3.3.7/components/#progress

E
Eugene, 2018-04-03
@evgen9586

Or here it is written how to make a progress bar
https://www.w3schools.com/howto/howto_js_progressb...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question