Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3345078
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:08:38+00:00 2026-05-18T01:08:38+00:00

I am wondering if anyone can give some safe guidelines on the maximum level

  • 0

I am wondering if anyone can give some safe guidelines on the maximum level of dom manipulation you can do with jquery without freezing the browser.

Also the best methods for mass DOM manipulation.

Basically at any one time I could be dealing with lists of up to 40k li‘s

All I am really doing is showing one, hiding the other.

So here are my questions

  • How many li’s could I theoretically manipulate at a time without crashing the browser?
  • How should I work with the li’s?
    • Manipulate as a single object (ul level)
    • Loop over each li in the first list removing them, then loop inserting each new li.
    • Loop over chunks of li’s (if so how big 10, 100, 1000, 10000 at a time?)
  • How should I fetch the data? (its in json format)
    • Grab the data for the entire list (40k li’s worth) in one ajax call.
    • Insert the data for every list at page creation(could be upwards of 20 lists = 800,000 li’s
    • Do several ajax calls to fetch the data (if so how big 10, 100, 1000, 10000 at a time?)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T01:08:38+00:00Added an answer on May 18, 2026 at 1:08 am

    If you really want to be manipulating that many then you should probably adopt something like http://developer.yahoo.com/yui/3/async-queue/

    As the answer for how many you should be working with at a time, you could build in a calibration which looks at how quickly the last set completed and work with more / less accordingly. This could get you something that works in everything from desktop chrome to mobile IE.

    The same goes for the ajax calls, make it able to ramp up according to the net speed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an interesting challenge that I'm wondering if anyone here can give me
Wondering if anyone can help with this. I have a table with some fixed
I have some unusual I need to do. I am wondering if anyone can
Wondering if anyone can help me with this annoying but trivial (in terms of
I'm wondering if anyone can recommend a good C++ tree implementation, hopefully one that
I was wondering if anyone can help me get started with creating a room
Came across this error today. Wondering if anyone can tell me what it means:
I was wondering if anyone can help me on this cause its driving me
I was wondering if anyone can provide a detailed explanation on how I can
I'm wondering if anyone can do this. Say I have this folder structure: Folder

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.