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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:47:27+00:00 2026-05-13T12:47:27+00:00

In this video there is a snippet of code that goes something like this:

  • 0

In this video there is a snippet of code that goes something like this:

if (jQuery) {jQuery(function() {
    // ...
})}

I’ve never seen the jQuery() function before (then again, I’m not a savvy jQuery user), what does it do? Does it ship by default with jQuery or is it specific to IxEdit? Since the usual $(window).load() snippet is missing and the code is somewhat similar I’m guessing it’s a shortcut / alias to:

$(window).load(function() {
    // ...
)}

Am I right? Also what is that jQuery variable? What does it hold? And why is he checking it?

  • 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-13T12:47:27+00:00Added an answer on May 13, 2026 at 12:47 pm

    $() is an alias for jQuery(), defined as:

    // Expose jQuery to the global object
    window.jQuery = window.$ = jQuery;
    

    http://code.jquery.com/jquery-1.4.js

    there is a special case defined when $() or jQuery() is called with the first argument being a function:

    // HANDLE: $(function)
    // Shortcut for document ready
    } else if ( jQuery.isFunction( selector ) ) {
        return rootjQuery.ready( selector );
    }
    

    sometimes $ can conflict with other libraries (like prototype) that define the same function, so if you call

    jQuery.noConflict();
    

    it will remove the $ alias, setting it back to the original value found, essentially:

    window.$ = _$;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Newbie question. I have Django models that look like this: class Video(models.Model): uploaded_by =
I want the users to only upload a video, then write a code that
I'm using Thinking Sphinx for full-text search, following this video . I'd like to
I recently watching this video on Google Chrome with great interest. It explains that
Is there an easy way to do this still? This snippet used to work
Is there a component like ubuntu unity's overlay scrollbar for Delphi? See also this
After watching this video , I started thinking about how I could implement something
Is there a difference between: function someMethod( $someArg ) { // some code return;
My jQuery overlay is this $(function() { $(#triggers a[rel]).overlay({ top: '24%', effect: 'apple', fixed:
Is there any way to disable the Download This Video button from RealPlayer. It

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.