daspecster/ziptastic-jquery-plugin — pull request #12 by djibouti33 (2013-01-05 07:13:35+00:00)
Title: Change event to handle

In my usage of the original code base, typing into a zip field would fire an "input" event for each character I entered. After the 5th digit, the zipChange event would fire and json would return. However, if I clicked away (another form field or anywhere else on the page) the "change" event would fire and another ajax request would fire, returning the same json block.

Instead of listening for "input" and "change", my change just listens for "keyup".