jQuery: The Write Less, Do More JavaScript Library

Plugins:

Filter by Project release API compatibility:
Login or register to modify the filter.

Collection

Last changed: 15 weeks 21 hours ago

This plugin generates generic collection classes, that work almost exactly as jQuery does.
These collections include all those jQuery functions, that are used to manipulate the collection itself.

The included built-in functions are:

add, andSelf, attr, each, end, eq, extend, filter, get, implement, include, index, init, is, map, not, pushStack, setArray, size and slice.

Every collection will have a build() function, that will create a new collection class, that inherits from the caller. $.collection is a collection class by itself. So other collections will inherit from it, or its subclasses.

With this plugin, you can manipulate native data types like String or Array, with your custom methods, without actually modifying their prototype. This is shown in some of the examples below.

If you want additional information and more details about some of the methods.

VersionDateLinks
1.0.32008-Jan-29

gettext

Last changed: 10 weeks 1 day ago

This plugin provides basic gettext support for jQuery apps. It loads JSON data, which can be generated easily from standard gettext .po/.mo files. Why go through the additional hassle of .po files? For a small app that needs i18n, one could write the json directly. However, the main advantages I see to gettext are:

  • well known editing tools like KBabel, poEdit, gtranslator, Emacs PO mode, etc.
  • translation memory, fuzzy matches and other features that become really helpful when your application is big and you have hundreds of strings
VersionDateLinks
1.0.42008-Mar-03

graphTable: graph data from HTML table using flot

Last changed: 21 weeks 16 hours ago

graphTable provides the ability to graph the data in a simple HTML table using flot.

Usage:

$('#myTable').graphTable({series:'columns'});

graphTable() takes up to two objects as arguments: the first is an object with the arguments for graphTable; the second is an object with arguments to be handed off to flot (read more about flot arguments).

The graphTable arguments let you:

  • choose which parts of the table will be used for the graph data
  • choose where the graph will go in relation to the table and how big it will be
  • run a function on cell contents (to remove dollar signs, for example) before passing them to flot

options for reading the table

defaults will work in most cases except you'll want to override the default args.series if your series are in columns

VersionDateLinks
0.1.02007-Dec-18

jCache - A client side jQuery cache plugin

Last changed: 26 weeks 4 days ago

jCache is a plugin made on the idea of a client-side Hashtable (key-value pairs).

Usually to improve web apps performance, you make calls to the server to get data and cache them on the server. This is of course effective, but sometimes not enough, since the browser must wait for the response from server none the less.

Using jCache, the data will be saved into browser's memory and ready to be retrieved later via a key (a good candidate for keys is the ajax URL, for example "products/getProducts.php?start=5&end=10", since it is unique for each cached item). Before any AJAX GET request, a cache check should be made, and if the data is there already, then it should be used without any need to query the server again. This will be lightning fast!

VersionDateLinks
1.0.22007-Nov-09

jMaps Framework

Last changed: 3 weeks 2 days ago

The JMaps Framework is a jQuery plugin that provides a simple but powerful API for Google's mapping services.

It provides a simple jQuery way to do functions such as:

* Geocode any address in the world via Google's geocoding API
* Search for directions to and from any location
* Add and remove Markers
* Add and remove polygons and polylines
* Add and remove graphic layers on the map
* Add and remove Google adsense layers
* Add and remove Traffic layers
* Get information back such as map center, map size, map type, etc

And many more.

VersionDateLinks
3.0.0-Release Candidate 12008-Apr-21
1.42007-Aug-13
3.0.0-Beta2008-Apr-20

jqCouch - CouchDB connection plugin

Last changed: 19 weeks 5 days ago

jQuery plugin for CouchDB, handling different type of couchdb connections.

jqcouch requires the new JSON-based CouchDB, which currently has to be installed from svn.
More details on this in the CouchDB projects website.

Database

var dbc = $.jqCouch.connection('db');
dbc.exists('database_name');

---
if ($.jqCouch.connection('db').create('database_name').ok) {
    alert("database created");
}

VersionDateLinks
2.0.22007-Dec-28

jqGrid - Server Side Grid

The grid is a Ajax-enabled JavaScript control that provides solution for representing tabular data on the web. Since the grid is client-side solution and loading data dynamically through Ajax callbacks, it can be integrated with any server side technology.
Features:
-Full control with JavaScript API
-Data returned from the server is XML
-Simple configuration
-Ability to load big datasets (paging)
-Resizable columns
-Server-side sorting
-Support of links, images, checkboxes
-You can add more than one grid on a sigle page (master-detail)
-Paging

VersionDateLinks
3.02008-Mar-27

jQuery SOAP Client

Last changed: 17 weeks 4 days ago

This is a jQuery implementation of SOAP Client and it is based on another jQuery plug-in called xmlObjectifier.

This library provides an easy way to communicate with SOAP web services from the client-side javascript (all domain restrictions are still there). SOAPClient supports complex/nested request objects as well as attributes and values within request object nodes. You can also set Header objects as well.

Practical example of how to use SOAPClient can be found on my site by following Demo link. I also have included a simple ASP.NET Proxy example that will resolve Cross-Browser Restrictions (if you're running IIS w/ ASP.NET)

VersionDateLinks
1.32008-Jan-12

jTemplates

Last changed: 18 weeks 2 days ago

jTemplates is a template engine 100% in JavaScript.

Example of template:

<table>
{#foreach $T.table as row}
  <tr>
   <td>{$T.row.name.bold()}</td>
   <td>{$T.row.mail}</td>
  </tr>
{#/for}
</table>

Download, demos, changelog, documentation are available on project homepage:
http://jtemplates.tpython.com

VersionDateLinks
0.5.1-22007-Dec-04
0.4.32007-Aug-25
0.6.62008-Jan-06

Metadata

Last changed: 30 weeks 1 day ago

This plugin is capable of extracting metadata from classes, random attributes, and child elements.

For example, you can do:

<li class="someclass {some: 'data'} anotherclass">...</li>
OR
<li data="{some:'random', json: 'data'}">...</li>
OR
<li><script type="data">{some:"json",data:true}</script> ...</li>

The default is the first method, but you can always change it by twiddling the options. This means that there is at least one option here that can appease you.

After that you can simply do:

var data = $('li.someclass').metadata();
if ( data.some && data.some == 'data' )
    alert('It Worked!');

There's also a bunch of options (like the ability to ignore braces {}).

For full documentation see http://docs.jquery.com/Plugins/Metadata.

VersionDateLinks
1.02007-Oct-15
2.02007-Oct-15

Modularize

Last changed: 3 weeks 4 days ago

This small plugin(673 bytes!) enables you to have modular methods on jQuery.
It allows the developer to apply the module pattern, to the functions of jQuery.fn.
They can be used as namespace/module for more functions.
This helps keeping the rule of only claiming one name from the jQuery namespace.

It enables you to do something like:

$(...).foo().bar( ... ).addClass('magic');

Visit the plugin's homepage, in order to learn more about it.

VersionDateLinks
1.0.02008-Apr-18

Orange

Last changed: 9 weeks 19 hours ago

This plugin is a jQuery extension that is capable of inspecting javascript objects, and using Javascript objects to populate html templates. This allows easy composition and tweaking of html snippets, and keeps the data separate from display code until it actually needs to be rendered. Works in all IE and Firefox platforms.

Supports ajax loading of html templates, template naming, retrieval and setting of templates at any time. core utilities can be used either as jQuery methods or functions.

This extension is part of a larger web development toolkit called 'Orange Foundation' available on source forge.

VersionDateLinks
1.5.02008-Mar-11

rpc

Last changed: 8 weeks 6 days ago

The is rpc(remote procedure call) client implementation based on JQuery. It creates an rpc object and adds ability to call them. It supports both xml and json rpc. The datatype support listing is coming soon. It is in early stage. It will not be upgraded if you do not provide feedback . Please take a look at the code and let me know what you think :) .

VersionDateLinks
0.1-alpha-12008-Mar-12

Smart Lists

Smart Lists is a light-weight jQuery extension that lets you convert 'flat' HTML lists of information into categorized, paginated lists. In essence, it's a presentation layer for improving the readability of related information, without need of a database or server-side script.

The configurable options include:

  • Choice for the item hide/show effect (Blind, Fade/Appear, none)
  • Choice for changing page effect (Blind, Fade/Appear, none)
  • Control over speed at which effects occur
  • Number of items per page
  • Option to show/hide the number of items in each category
  • Complete control over CSS classes (to ensure compatibility with any webpage)
  • Downgrades gracefully (i.e. if JS not enabled)

spinner

Last changed: 11 weeks 1 day ago

* Cycle through millions of items or groups of items with the appearance of a scroller and functionality of a pager
* Display horizontally or vertically
* Seamless forward and reverse transition between end points of the resultset
* Adjust offset value based on total record count and items per page to prevent dead space
* Complete control of container and element styles
* Randomize initial offset

VersionDateLinks
0.2.0-beta2008-Feb-24
0.5.0-beta2008-Feb-26

SuperFlyDOM

Last changed: 37 weeks 1 day ago

Create DOM elements on the fly and automatically append or prepend them to another DOM object.

Also included are template functions (tplAppend and tplPrepend) that can take a JSON-formatted HTML structure, apply a dataset, and create complex DOM nodes! New template system is much more forgiving and flexible than previous DOM element creation plugins.

Features

  • Add any element with or without all types of properties or children in any order
  • Chainable! Returns last appended/prepended element in jQuery object - but also works on plain DOM elements!
  • Accepts inline HTML as string, innerHTML style
  • Fixes IE special-cases, like input element creation and children of tables
  • Lightweight yet fast! Uses internal jQuery functions for portability while creating DOM nodes and accessing appendChild directly for speed
  • AJAX-friendly - SuperFlyDOM takes real JSON objects, perfect for lightweight AJAX (or jQuery's .getJSON) retrieval
VersionDateLinks
0.9.0-g2007-Aug-27

Survey

Last changed: 5 weeks 4 days ago

A plugin to quickly generate surveys with javascript. Based on JSON, XML, or anything.

This plugin is not fully functional to be used in production.

VersionDateLinks
1.0.02008-Apr-04

Tokenizer

Last changed: 5 weeks 6 days ago

This small plugin/class can easily parse a string, and generate different kind of tokens.
It's very simple and straight-forward. It can perform as a base for other string parsing scripts, like templating engines, custom language interpreters, and many more.

Read the documentation to learn more and see a couple of code samples.

VersionDateLinks
1.0.12008-Apr-02

Translate

Last changed: 1 week 2 days ago

This plugin integrates the Google Ajax Language API to jQuery. You can just call e.g. $('body').translate('en') but provides callbacks for each translated element too. Or you can pass an array to $.translate to get back a translated array. Currently you can only send at most 500 characters with the raw API per request but this plugin calls them consecutively. It also reduces the number of requests by concatenating elements and doesn't send unnecessary html markup still providing access to each element as they've got translated. It provides a similar function and method for language detection too.
Here's a bookmarklet built on it: http://balazs.endresz.googlepages.com/translatebookmarklet

http://code.google.com/p/jquery-translate/

VersionDateLinks
1.0.22008-Apr-23
1.0.62008-May-05

xml

Last changed: 1 year 1 week ago

Methods to generate XML/HTML tags programmatically. By default, they output XHTML compliant tags.

VersionDateLinks
1.02007-May-06

xmlObjectifier - Converts XML DOM to JSON

Last changed: 10 weeks 4 days ago

The end of DOM Tree walking is here!

This small and fast utility converts an XML file fetched through $.ajax to a JavaScript Object, completely eliminating a need to use DOM Tree walking to extract data. All attributes and values are accessible using dot (.) notation. Besides simplifying the way you access data you can also sort nodes prior further processing. This component can be easily used to write a SOAP or RSS client.

How JSON object is assembled? - this utility is a recursive walker that starts off at the root of your document and creates a new object for each node, and new field for each node attribute. Whenever a a tree walker encounters a text node or a CDATA within your node, it assigns it's value to a .Text field of that js object (object that represents a node). Ex: <node1>Hello World</node1> would be stored at node1.Text

VersionDateLinks
1.0.32008-Feb-29

XSLT (based on Google's AJAXSLT)

Last changed: 41 weeks 5 days ago

This is a jQuery Plugin for Google's AJAXSLT. It gives you the ability to transform XML/XSL from JavaScript. AJAXSLT is a parser itself, the library does not depend on your browser being able to do XSL transforms. The plugin also provides functionality to load XML/XSL through $.ajax() calls and transform them.

VersionDateLinks
0.7.02007-Jul-27