What are the best practices for doing DOM insertion?
- Is it faster to insert large chunks of html vs element at a time in a loop?
- Does it matter what html you are inserting, or only how big the chunk is?
- It it faster to insert a table, vs inserting just the rows using the table hack?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…