Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

In Javascript, what does $(document) mean?

I can't search it on a search engine because they won't read the special characters

Update:

I had thought of that, Mr. AnalProgrammer. Still didn't work. $() is apparently a call to jquery

5 Answers

Relevance
  • 9 years ago
    Favorite Answer

    Search for

    "$(document)"

    including the quotes.

    Have fun,

  • Anonymous
    9 years ago

    $ is either the name of the function or object being initialized and it's being passed the "document" object as an argument. It is most likely jQuery which is a very commonly used library on the web. $(document).ready() is used in this class to run a script once a page has been loaded.

  • 9 years ago

    It is just jQuery function that returns DOM wrapped to JQ object.

  • 9 years ago

    It is just jQuery function that returns DOM wrapped to JQ object.

  • How do you think about the answers? You can sign in to vote the answer.
  • 9 years ago

    It is just jQuery function that returns DOM wrapped to JQ object.

Still have questions? Get your answers by asking now.