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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:38:41+00:00 2026-06-09T05:38:41+00:00

Despite removing all my code from $.Ready(), it appears that jquery.validate.unobtrusive.js is calling some

  • 0

Despite removing all my code from $.Ready(), it appears that jquery.validate.unobtrusive.js is calling some heafty on load code which is resulting in a 300ms lead-time for our DOMContentLoaded event to fire.

We do have a pretty large DOM, but surely it shouldn’t take that long?

  • 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-06-09T05:38:42+00:00Added an answer on June 9, 2026 at 5:38 am

    Whilst tackling some performance dragons on a product I am working on, it appeared that my DOMContentLoaded event was taking 700ms in IE 9 (We have a pretty big DOM – which is also on my list to tackle)

    After disabling all my OnReady code – I narrowed it down

    parse(selector) in jquery.validate.unobtrusive.js

    After finding:

    $(selector).find(":input[data-val=true]").each(function () {...} I knew immediately the structure of the selector in the Find() method, that this would go into the sizzle engine, and not use the Document.QuerySelectorAll().

    –Edit as per comment from @CharlesC–

    A minor change of the selector to:

    $(selector).find("input, select, textarea").filter("[data-val=true]") resulted in a 300ms performance gain within IE.

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

Sidebar

Related Questions

Very occasionally, despite all testing efforts, I get hit with a bug report from
I have a piece of code here that does not work despite me using
Despite some posts on this forum and others I cannot find something that tells
Despite all known blogs about this issue i always doubt some results and my
Despite all the advances in 3D graphic engines, it strikes me as odd that
Despite following various posts on using and linking to unmanaged C++ code from a
Despite being a Project Euler program, the following code doesn't actually concern it much.
Despite all of the buzz around html5 forms, it seems to me like you
Despite I have been using MVC in PHP many times, I found out that
Despite all the hype, in reality the HTML5 video tag has a bit of

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.