").appendTo(ul); }; jQuery("#searchkeyword").change(function() { var searchKeyword = jQuery("#searchkeyword").val(); if (searchKeyword != keyword){ jQuery('#categorySuggestion').val(""); } }); jQuery(".zipcode-495").focusin(function() { jQuery(".dir-search-preferences-495").slideDown(500); }); jQuery(".zipcode-495").focusout(function() { //jQuery(".dir-search-preferences-495").slideUp(500); }); jQuery("#geo-location-radius-495").ionRangeSlider({ grid: true, min: 0, max: 300, from: 100, to: 300, }); }); function initializeSearchAutocomplete495(preventSubmit) { jbdUtils.initializeSearchAutocomplete(495, preventSubmit, []); } function enableGeoLocation495(){ if (navigator.geolocation) { jQuery("#loading-geo-locaiton-495").show(); jQuery(".la la-bullseye").addClass("dir-beat-animation"); navigator.geolocation.getCurrentPosition(setGeoLocation495); } jQuery("#enable-geolocation-495").addClass("active"); jQuery("#disable-geolocation-495").removeClass("active"); jQuery("#dir-container-495 #geolocation").val(1); } function disableGeoLocation495(){ jQuery("#enable-geolocation-495").removeClass("active"); jQuery("#disable-geolocation-495").addClass("active"); jQuery("#dir-container-495 #geolocation").val(0); jQuery("#loading-geo-locaiton-495").hide(); jQuery(".la la-bullseye").removeClass("dir-beat-animation"); jQuery("#dir-container-495 #geo-latitude").val(''); jQuery("#dir-container-495 #geo-longitude").val(''); jQuery("#dir-container-495 #geo-country").val(''); } function setGeoLocation495(position){ jQuery("#loading-geo-locaiton-495").hide(); jQuery(".la la-bullseye").removeClass("dir-beat-animation"); var latitude = position.coords.latitude; var longitude = position.coords.longitude; jQuery("#dir-container-495 #geo-latitude").val(latitude); jQuery("#dir-container-495 #geo-longitude").val(longitude); codeLatLng(latitude,longitude); } function showCategorySelect495(level, parentId, id){ var urlGetCategories = "/index.php/ecosystem/dra-100?task=categories.getSubcategoriesByParentIdAjax"; var selectedCat; if(parentId===undefined) selectedCat = jQuery('#dir-container-495 #categories-'+level).find(":selected").val(); else selectedCat = parentId; var categoryType = 1; jQuery('#dir-container-495 #categorySearch').val(id); if(selectedCat != 0) { if(parentId === undefined) jQuery('#dir-container-495 #categorySearch').val(selectedCat); else jQuery('#dir-container-495 #categorySearch').val(id); } }
No records found.

Advertisement

CES2018

Advertisement

mescon ad