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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:18:45+00:00 2026-06-11T18:18:45+00:00

Does anyone know why jQuery document ready might not fire on a website? I

  • 0

Does anyone know why jQuery document ready might not fire on a website? I put exactly this script in footer and it simply doesn’t fire (jQuery 1.8 is included in head section):

<script type="text/javascript">
jQuery(document).ready(function() { 
     alert('test');
     jQuery("#slideshow iframe").each(function(){ 
          alert('test');
     });
});
</script>

There are no Javascript errors, console is empty and when I run this in Firebug’s console it works:

jQuery("#slideshow iframe").each(function(){ 
     alert('test');
});
  • 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-11T18:18:46+00:00Added an answer on June 11, 2026 at 6:18 pm

    You are currently getting this error on your page

    Uncaught TypeError: Property '$' of object [object Window] is not a function 
    

    The cause of this error is inside your flow.anything-slider-1.0.js at line 11.

    The file is using jQuery(document).ready(), so $ is not defined.

    Changing line 11 from using $ to jQuery works:

    // doesn't work
    $("#content").before("<div id=\"cycledump\"></div>");
    
    // Does work
    jQuery("#content").before("<div id=\"cycledump\"></div>");
    

    The whole file uses jQuery instead of $ so the file should probably stick with the one way of using jQuery instead of mixing it up.

    Edit
    I just double checked the .ready() documentation and the following paragraph was interesting as it seems to relate to the issue:

    Aliasing the jQuery Namespace
    When using another JavaScript library, we may wish to call $.noConflict() to avoid namespace difficulties. When this function is called, the $ shortcut is no longer available, forcing us to write jQuery each time we would normally write $.

    However, the handler passed to the .ready() method can take an argument, which is passed to the global jQuery object. This means we can rename the object within the context of our .ready() handler without affecting other code:

    jQuery(document).ready(function($) {
      // Code using $ as usual goes here.
    });
    

    This would imply, that instead of fixing line 11 you could also change your fist line to jQuery(document).ready(function($) {, passing the $ as an argument. This might allow you then to use $ throughout the file as well as jQuery.

    Anyway, not sure passing $ as an argument would work in your case, I just thought I mention it in case it does work.

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

Sidebar

Related Questions

Does anyone know why .hide(normal) does not seem to be working in jQuery 1.4.2?
Does anyone know why this very simple jquery animation works perfectly in some browsers
Does anyone know how to fix this error? I am using jquery 1.6.2 XMLHttpRequest
Does anyone know of a jQuery plugin that has 'helpers' or extensions like those
Does anyone know the d3 equivalent to jQuery attribute selector: $('[attribute=name]') I want to
Does anyone know if theres a jquery autocomplete library that works similar to the
Does anyone know what's going to be in the next version of jquery (1.3.3
Does anyone know where I may find a really simple easy jQuery and PHP
Does anyone know of any samples that use the DataTables jquery plugin with a
Does anyone know how to get a page load event to fire if the

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.