Difference between revisions of "JQuery"

From Media Design: Networked & Lens-Based wiki
Jump to navigation Jump to search
Line 1: Line 1:
JQuery is a JavaScript popular framework. It smooths over many of the difficulties that traditionally made JavaScript hard to work with and supports / encourages a unique style of coding driven by CSS-selector based "queries".
+
JQuery is a JavaScript popular framework. It smooths over many of the difficulties that traditionally made JavaScript hard to work with and supports / encourages a unique style of coding driven by CSS-selector based "queries". JQuery code can be surprisingly compact.
 +
 
 +
For example, to hide all the links (in anchor tags) on a page, you could simply write:
 +
<source lang="javascript">
 +
$("a").hide();
 +
</source>
  
 
http://jquery.org
 
http://jquery.org
  
 
* [http://www.linuxjournal.com/article/10404 Writing jQuery Plugins, tutorial]
 
* [http://www.linuxjournal.com/article/10404 Writing jQuery Plugins, tutorial]

Revision as of 15:42, 26 July 2009

JQuery is a JavaScript popular framework. It smooths over many of the difficulties that traditionally made JavaScript hard to work with and supports / encourages a unique style of coding driven by CSS-selector based "queries". JQuery code can be surprisingly compact.

For example, to hide all the links (in anchor tags) on a page, you could simply write:

$("a").hide();

http://jquery.org