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

  • Home
  • SEARCH
  • 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 8008729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:13:43+00:00 2026-06-04T18:13:43+00:00

I have a problem where the $().ready is triggering no matter what I put

  • 0

I have a problem where the $().ready is triggering no matter what I put into the parameter which means that it actually triggers before the page is ready. I am using ASP.NET mixed in with EXT.NET and would like to implement jQuery to spice things up a little. As the description says, it triggers no matter what so if I put “123” into the paramter it will show me the alart() anyways. Here is the code is am running:

    $("123").ready(function () {
        var $kids = $("x-column-inner").children();
        alert($(".x-column-inner").height());
    });

As a result “.x-column-inner” is null because it hasn’t finished compiling the page and is already executing the javascript.

  • 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-04T18:13:45+00:00Added an answer on June 4, 2026 at 6:13 pm

    The .ready method ignores what is in the selector completely. It is only fired when the DOMContentLoaded event is triggered by the browser.

    Note however that DOMContentLoaded may fire before images and css sheets are done loading, resulting in in-accurate height and width measurements. If that is an issue for you, you need to use $(window).load();

    If the DOMContentLoaded event has already been triggered, the ready callback will be executed immediately.

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

Sidebar

Related Questions

Never ran into this problem with jQuery before. I have the following: $(document).ready(function() {
I have a problem with a socket library that uses WSAASyncSelect to put the
I have problem to put several countdowns on page. I use HTML.Partial: <span><strong id=time_h></strong>godz.
I have problem to pass value via url parameter to other page. I want
I have some problem with my open new window popup which it can read
Problem in words: For my application, I have a class that reads from a
I have a problem on this code $(document).ready(function(){ $('.nm_close').click(function(){ $('.map_pops').css('display','none'); }); }); What I
I have a problem where the element calls .show() when the draggable triggers drag,
I have a problem mapping a Json object recieved from the server into a
i have problem with my code. I use this JS $(document).ready(function() { //Default Action

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.