Skip to content

Instantly share code, notes, and snippets.

@osc2nuke
osc2nuke / gist:470a17ba98b131f6ecf30064962868d5
Created August 13, 2018 13:49 — forked from lfender6445/gist:6226290
restrict googleplaces by United States so it only returns zipcodes and states
// Application Javascript - see https://github.com/lfender6445/google_places for full example
var autocomplete, input, address = {};
$(document).ready(function(){
input = $("#searchBox");
$("#searchBox").clearOnFocus();
$('form').submit(function(){ return false; });
});
var init = function(){