Skip to content

Commit

Permalink
Add note about npm installing
Browse files Browse the repository at this point in the history
  • Loading branch information
tuupola committed Feb 26, 2015
1 parent 9237070 commit b5d88c1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
@@ -1,19 +1,20 @@
# Chained
# Chained

[![Author](http://img.shields.io/badge/author-@tuupola-blue.svg?style=flat-square)](https://twitter.com/tuupola)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.txt)
[![Build Status](https://img.shields.io/travis/tuupola/jquery_chained/master.svg?style=flat-square)](https://travis-ci.org/tuupola/jquery_chained)
[![Build Status](https://img.shields.io/travis/tuupola/jquery_chained/master.svg?style=flat-square)](https://travis-ci.org/tuupola/jquery_chained)

Chained is simple plugin for chained selects. It works with both jQuery and Zepto. You can choose from two different versions. Use jquery.chained.js if you do not want to make external queries for setting content of child selects. This version uses classnames of select options to decide content.

For more complex scenarios maintaining option tag classnames will get cumbersome. Also if you want to make queries against database use jquery.chained.remote.js instead. This version makes an external AJAJ query and uses the returned JSON to build child selects.

## Install

You can install with [bower](http://bower.io/).
You can install with [bower](http://bower.io/) or [npm](https://www.npmjs.com/).

```
>bower install chained
>npm install jquery-chained
```

## Simple usage
Expand Down

0 comments on commit b5d88c1

Please sign in to comment.