KB3038314 - 使用.InnerHTML时的性能问题 [英] KB3038314 - Performance Issue when I use .InnerHTML

查看:56
本文介绍了KB3038314 - 使用.InnerHTML时的性能问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的网站工作正常,直到我在自己的计算机上收到此更新。 当我从服务器获取4000条记录(HTML表格)并将其分配给span对象的innerHTML属性时,机器将永远冻结。  卸载补丁的那一刻,我
在3秒内获得结果。

My site was working fine until I receive this update on my machine.  When I fetch 4000 records (HTML table) from server and assign that to innerHTML propery of span object then machine freezes forever.   The moment I uninstall the patch, I get result in 3 seconds.

现在问题是我不能要求客户特别是当有这么多最终用户时,请在他们的最后安装这个补丁。

Now the problem is that I cant ask clients to un-install this patch at their end specially when there are so many end users.

请解决此问题

推荐答案

您好,

在您的网页上添加有效的文件类型声明。

add a valid document type declaration to your webpage(s).

W3C有效文件类型清单

为什么要验证?

为避免混淆,请提供指向您网站的链接或包含您问题的混搭。这些是点对点支持论坛......我们不代表微软工作也不代表微软。



问候。

To avoid confusion please include a link to your website or a mashup with your questions. These are peer to peer support forums... We do not work for nor represent Microsoft.

Regards.


这篇关于KB3038314 - 使用.InnerHTML时的性能问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆