Skip to content

Commit 868b294

Browse files
committed
Update README.md
1 parent a110906 commit 868b294

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
1-
# This project has moved to it's official home :)
2-
# [ziptastic-jquery-plugin](https://github.com/ziptastic/ziptastic-jquery)
1+
# ziptastic-jquery
2+
> Seamlessly integrate [Ziptastic!](https://www.getziptastic.com) with jQuery
3+
4+
## Usage
5+
6+
#### Standalone Lookup
7+
8+
Can be used to query for a specific zip code.
9+
10+
```js
11+
$.ziptastic(48867, function(country, state, stateCode, city, zip) {
12+
// Match found.
13+
});
14+
```
15+
16+
#### Input Keyup Wrapper
17+
18+
```js
19+
$('input.zip')
20+
.ziptastic()
21+
.on('zipChange', function(event, country, state, stateCode, city, zip) {
22+
// Match found.
23+
});
24+
```

0 commit comments

Comments
 (0)