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 6734965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:57:07+00:00 2026-05-26T10:57:07+00:00

Hey there programming peps! I have a question re: jQuery. We have a software

  • 0

Hey there programming peps! I have a question re: jQuery. We have a software application that is producing a very large HTML report… large on the order of 500-2000 printed pages. It can take Google Chrome between 12-20 seconds to load it from the hard drive.

There is a some JavaScript in use which serves only to give the HTML version of the report some additional functionality. Right now, all of the events are fired off from inline HTML onclicks and so on.

If I convert to jQuery and use selectors to bind the events, the selectors could easily be matching 10’s of thousands of elements. Plus, the typical way to use jQuery (eg., $(document).ready()) would cause the click event not to fire until the document was fully loaded.

So the questions are:
Is jQuery up to this task? Or am I better suited leaving inline script?
If it is, are there certain techniques I need to use to make it work well?
And is there a way to circumvent the “no events until document load” scenario?

And a secondary question (this one just occurred to me as I was writing this):
This report is being sold to a client. What are my license obligations if jQuery is included as apart of the report?

Edit

@jfriend00 : I’ve been at a bit of a loss on how to do this (split the report up). The report is issued in 2 formats: HTML and PDF. The clients want to have a digital manual available from which they can print sections. They also want the HTML version because it provides anchors which link key parts. The JavaScript allows for a popup that provides a view into the underlying data that the report was based on. What has happened is that we’ve run into a scaling problem. The data being analyzed has increased greatly and so has the size of the resulting report.

For confidentially reasons, the report cannot be live online nor on an internal intranet. It has to be a deliverable that will run on an individuals local machine.

If anyone has tips on how to handle this gracefully, I would love to hear your ideas. This is an issue that has been plaguing me for some 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-26T10:57:08+00:00Added an answer on May 26, 2026 at 10:57 am

    jquery’s up to pretty much any task. Question is if the browser these reports will be loaded into can keep up.You could embed a “start processing” directive every certain number of lines in the report, so that after (say) 100 lines of report are out, there’s a JS call to start your script on those 100 lines.

    Then another 100 lines of report, and another function call. Painful, but at least those first few hundred lines would be interactive as the rest of the page loads.

    As for #2, that’s a legal issue. jquery’s under dual MIT/GPL licensing, so you’re probably ok, but talk to a lawyer to be sure. “But some random weirdo on the internet said it was ok!” is not a valid defence if/when you get hauled into court on a copyright violation rap.

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

Sidebar

Related Questions

Hey there, I've got a block of HTML that I'm going to be using
hey there, i have a div that expands when the page is loaded, now
hey there i am having problem i have List<List<memoryCard>> that i want to show
Hey there. I have an image that I am absolutely positioning. In Firefox it
hey there, just practising and I had a question. I have a program (source
Hey everyone, in many programming languages there is this great idiom that lets you
Hey there, I'm a designer thats really new to programming with xcode or Objective-C
Hey there, I'm sort of new to Objective-C, and well, programming in general. I
Hey, in the Programming Pearls book, there is a source code for setting, clearing
Hey there. I'm trying to write a small program that will read the four

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.