JQuery

From Libzter

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

[edit] 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)

[edit] Features

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

[edit] 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>

[edit] Similar libraries

[edit] Advantages

  • Lightweight
  • Plugins
  • Simple syntax

[edit] 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.

[edit] Reference

API Reference

[edit] Download

Download page

[edit] Installation

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

Google AdSense