This page demonstrates the differences in performing basic Javascript tasks using JQuery vs. YUI. The example below simply replaces the text inside a paragraph tag when a link is clicked. Both the paragraph and link tags are contained in a div that is defined with an ID. Please view the source code to see the differences in implementations; all code is inline in this HTML page.