Skip to content

This is a jQuery plugin that shows how Ziptastic could be used.

Notifications You must be signed in to change notification settings

djibouti33/ziptastic-jquery-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

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 :)

Update: Looks like there's licensing issues with the Canadian database. Looking into the options.

About

This is a jQuery plugin that shows how Ziptastic could be used.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%