Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This is a jQuery plugin that shows how Ziptastic could be used.
branch: master

This branch is 12 commits behind daspecster:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
demo.html
jquery.ziptastic.js

README.md

Usage

Standalone lookup

Can be used to query for a specific zip code.

$.ziptastic(48867, function(country, state, city, zip){
    // Use the data...
})

Element Selector

$('#zip')
    .ziptastic()
    .on('zipChange', function(event, country, state, city, zip) {
        // Use the data...
    });

Notes

Currently the database is US only. Next addition is Canada. We will try and get that added this weekend :)
Something went wrong with that request. Please try again.