Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>jQuery doesn't do anything that JavaScript cannot/does not do - it's simply a JavaScript framework/library. What it does is provide wrappers around JavaScript events that browsers implement, such as <a href="https://developer.mozilla.org/en/DOM/window.onload" rel="nofollow noreferrer"><code>onload</code></a> (<code>$.load()</code>) and <a href="https://developer.mozilla.org/en/Gecko-Specific_DOM_Events" rel="nofollow noreferrer"><code>DOMContentLoaded</code></a> (<code>$.ready()</code>). Of course, there is a lot of work under the hood that attempts to make this behaviour as standard as possible across browsers and works around browser bugs, issues and incompatibilities.</p> <p>For example, IE didn't really support <code>DOMContentLoaded</code> before IE 9 but jQuery has to provide an implementation for it. You might want to see these links to understand more about what this event is and how one might implement something similar, even without jQuery:</p> <ul> <li><a href="http://api.jquery.com/ready/#comment-85629494" rel="nofollow noreferrer">http://api.jquery.com/ready/#comment-85629494</a></li> <li><a href="http://www.zachleat.com/web/domcontentloaded-inconsistencies/" rel="nofollow noreferrer">http://www.zachleat.com/web/domcontentloaded-inconsistencies/</a></li> <li><a href="http://www.kryogenix.org/days/2007/09/26/shortloaded" rel="nofollow noreferrer">http://www.kryogenix.org/days/2007/09/26/shortloaded</a></li> <li><a href="https://stackoverflow.com/questions/799981/document-ready-equivalent-without-jquery">$(document).ready equivalent without jQuery</a></li> </ul> <p>If you really want to see what's being done by jQuery, you should check out the <a href="http://code.jquery.com/jquery-1.6.js" rel="nofollow noreferrer">jQuery source</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload