A Comparison Between IE7 and ff3.5.

Source: Internet
Author: User
$ (JSON). Each (function (I ){
If (I> 1 ){
Lc = $ ("<Div class = 'divcontent'> </div>" Maid ("Min-width", gridwidth );
Vertex (jsonpolici=.txt align). Each (function (j ){
$ ("<Span>" + JSON [I]. data [J] + "</span>" ).appendto(lc0000.css ("text-align", jsonpolici2.16.txtalign?j=).css ("width", parseint (JSON [0]. titlewidth [J]);
});
}
});

Today, we found that the previously written drag grid is very slow under IE, I is 20 rows, and J is about 11 columns.
The aboveCodeIn IE7, the execution time is very slow, which is about 5 seconds. Ff3.5 is very fast and requires about 1 ~ 2 seconds... It is estimated that IE and FF are executed differently when the appendto statement is executed.
How can I optimize ie faster when executing such statements?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.