How to do Threading in Javascript

前端 未结 4 1950
栀梦
栀梦 2020-12-06 05:53

So I have a large JSON object i\'m returning from the server, then building a datatable from it and displaying it on the form. This usually takes a few seconds.. so I was th

4条回答
  •  天命终不由人
    2020-12-06 06:08

    So it appears the only clean way to do this in my application is to process the json on the server and build the html there. Then return the html to the browser via $.post()

    The progress bar will be lost. however I can use a infinite loading gif...

提交回复
热议问题