开发者

Huge data entry webform performance

开发者 https://www.devze.com 2023-04-12 07:29 出处:网络
I have a webform that allows users to dynamically add \'sections\' (which are divs with about 20 data items) to the existing form.The issue as expected is the load times.I have looked at this link her

I have a webform that allows users to dynamically add 'sections' (which are divs with about 20 data items) to the existing form. The issue as expected is the load times. I have looked at this link here Now I am wondering if there is a way to start the loading x n开发者_如何学JAVAumber of sections after the view port. I don't have the control to change the app. I have been tasked with making it hurt less. I am open to ideas.

My thanks in advance,


Using the method you referred to in the other post...

var x = 10;

for (i = 0; i < x; i++) {
    $('#div' + i).load('content' + i + '.php');
}
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号