Libraries
Articles

JQuery

From Libzter

Share/Save/Bookmark
Revision as of 15:40, 11 July 2009 by 192.138.111.176 (Talk)
Jump to: navigation, search


jQuery

Developer(s)John Reisig
Initial Release2006
Current Version1.3.2
Language(s)javascript
Licence(s)MIT,GPL
Platform(s)Web

Contents

Overview

A fast and concise, although complete, JavaScript library that simplifies UI handling, events, Ajax and other common dynamic web tasks.

jQuery has a very small footprint when it comes to size (<20kb, using compression) and is supported among many browsers (IE6+,FF2+,Opera,Chrome)

Features

  • GUI
    • Floating Dialogs
    • Widgets
    • Animations
    • Drag N Drop
  • Client/server communication
    • AJAX (XML HTTP Request)
  • Data Exchange, JSON

Examples

A simple example showing a drag and drop feature

<script type="text/javascript">
  $(document).ready(function(){
    $("#draggable").draggable();
    $("#droppable").droppable({
      drop: function() { alert('dropped'); }
    });
  });
</script>  
<div id="droppable">Drop here</div>
<div id="draggable">Drag me</div>

Similar libraries

Advantages

  • Lightweight
  • Plugins
  • Simple syntax

Disadvantages

  • Not as deep and flexible as other libs
  • No support for XML/HTML UI design. The code tend to be a bit messy in complex cases.

Reference

API Reference

Download

Download page

Installation

The installation is a simple as putting a couple of files in the right path of the webserver.


Library Navigation

  • Language

  • Category
Google AdSense