Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It's already been mentioned, but I will say it again: jQuery. The strength of jQuery is not just the ability to make a simple AJAX call or the great UI extension library. In my humble opinion, the best part of jQuery is how you can easily handle the return data. jQuery easily allows you to navigate XML just like you can HTML. </p> <p>For instance, say you get back an xml request:</p> <p>(: Borrowed this XML document from a MarkLogic training file :)</p> <pre><code>&lt;author name="Boynton"&gt; &lt;book&gt; &lt;title&gt;Barnyard Dance!&lt;/title&gt; &lt;year&gt;1993&lt;/year&gt; &lt;/book&gt; &lt;book&gt; &lt;title&gt;Hippos Go Berserk!&lt;/title&gt; &lt;year&gt;1996&lt;/year&gt; &lt;/book&gt; &lt;/author&gt; </code></pre> <p>jQuery can retrieve all the year elements with this simple command:</p> <pre><code>var years = $("year"); //Ok, lets act on each element instead $("year").each(function(index, value){ alert("Element " + index + " = " + value); }); /* OUTPUT Element 0 = 1993 Element 1 = 1996 /* </code></pre> <p>Try doing that in normal Javascript!</p> <p>Furthermore, the way jQuery is designed is simply beautiful. The founders encourage extending the framework by adding the ability to create extensions into the core of the library (sure you can always just edit the Javascript file, but what happens when there's a critical update to the framework).</p> <p>Another great reason to use jQuery is its compatibility with other Javascript frameworks. By default both Prototype and jQuery use the "$" sign to refer to the main library object. Only jQuery adds the functionality to remove this reference so it can coexist with Prototype.</p> <p>jQuery makes JavaScript enjoyable.</p>
    singulars
    1. This table or related slice is empty.
    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.
    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