Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This is a jQuery plugin that shows how Ziptastic could be used.
HTML JavaScript
branch: master
Failed to load latest commit information.
LICENSE Create LICENSE
README.md Update README.md
demo.html Add two digit state
jquery.ziptastic.js Update jquery.ziptastic.js

README.md

Usage

Standalone lookup

Can be used to query for a specific zip code.

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

Element Selector

$('#zip')
    .ziptastic()
    .on('zipChange', function(event, country, state, state_short, city, zip) {
        // Use the data...
    });
Something went wrong with that request. Please try again.