在jquery中从xml填充到表的部分数据。

时间:2022-01-10 23:04:12

I am using AJAX call to load and parse xml. I already have a table created and inside for each loop I am inserting data into table. Problem is it is inserting only about 3000 rows while xml has data for 16000 rows. I have created local database (client side) in HTML5.

我正在使用AJAX调用来加载和解析xml。我已经为每个循环创建了一个表,并将数据插入到表中。问题是它只插入大约3000行,而xml有16000行的数据。我用HTML5创建了本地数据库(客户端)。

Any answers or suggestions are welcome.

欢迎有任何回答或建议。

1 个解决方案

#1


0  

Hm. My only guesses are either of these things:

嗯。我唯一的猜测是:

  1. the XML file is broken somewhere; if you open it in a browser, does it render correctly?

    XML文件在某处被破坏;如果您在浏览器中打开它,它是否呈现正确?

  2. you hit the max size for HTML 5's local storage

    您按下HTML 5本地存储的最大大小

#1


0  

Hm. My only guesses are either of these things:

嗯。我唯一的猜测是:

  1. the XML file is broken somewhere; if you open it in a browser, does it render correctly?

    XML文件在某处被破坏;如果您在浏览器中打开它,它是否呈现正确?

  2. you hit the max size for HTML 5's local storage

    您按下HTML 5本地存储的最大大小