Events
Categories
Community EventsLibrary Sponsored EventsPrivate EventsPublic Events
Powered by Events Manager
Locations
EM.search_term_placeholder = ‘Search’;
Search
Near…
EM.geo_placeholder = ‘Near…’;
EM.geo_alert_guess = ‘We are going to use %s for searching. \n\n If this is incorrect, click cancel and try a more specific address.’;
function em_geo_search_init(){
jQuery(‘input.em-search-geo’).each(function(i){
var input = /** @type {HTMLInputElement} */ jQuery(this);
var wrapper = input.closest(‘div.em-search-geo’);
var autocomplete = new google.maps.places.Autocomplete(input[0]);
var geo_coords = wrapper.find(“input.em-search-geo-coords”);
var geo_field_status = function( status ){
wrapper.data(‘status’,status);
var em_search = wrapper.closest(‘.em-search’);
if( status […]