jQuery(function( $ ) { jQuery( '.postal-code' ).keyup( function( e ) { AjaxZip3.zip2addr(this,'','address-level1','address-level2'); } ) } );