Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
grobie committed Oct 22, 2010
1 parent eb91c07 commit a92e327
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.markdown
Expand Up @@ -7,7 +7,7 @@

![Screenshot](http://github.com/grobie/tag-it/raw/master/screenshot.png)

Check the example.html for a demo.
Check the [example.html](http://github.com/grobie/tag-it/blob/master/example.html) for a demo.

## Usage

Expand Down Expand Up @@ -61,7 +61,7 @@ Tag-it accepts several options to customize the behaviour:

### itemName (String)

Used to build the name of the hidden input field: `**itemName**[fieldName][]`.
Used to build the name of the hidden input field: `itemName[fieldName][]`.

$("#mytags").tagit({
itemName: "user"
Expand All @@ -71,7 +71,7 @@ Defaults to *item*.

### fieldName (String)

Used to build the name of the hidden input field: `itemName[**fieldName**][]`
Used to build the name of the hidden input field: `itemName[fieldName][]`.

$("#mytags").tagit({
fieldName: "skills"
Expand Down Expand Up @@ -106,7 +106,7 @@ Can be used to add custom behaviour before the Tag is removed from the DOM.
The function receives the tag as parameter.

$("#mytags").tagit({
onTagAdded: function(tag) {
onTagRemoved: function(tag) {
// do something special
}
});
Expand Down

0 comments on commit a92e327

Please sign in to comment.