").appendTo(ul); }; jQuery(".zipcode-688").focusin(function() { jQuery(".dir-search-preferences-688").slideDown(500); }); jQuery(".zipcode-688").focusout(function() { jQuery(".dir-search-preferences-688").slideUp(500); }); jQuery("#geo-location-radius-688").ionRangeSlider({ grid: true, min: 0, max: 500, from: 50, to: 500, }); jQuery(function() { jQuery('#dir-container-688 #startEndDate').daterangepicker({ startDate: moment(), endDate: moment(), ranges: { "Today": [moment(), moment()], "Tomorrow": [moment().add(1, 'days'), moment().add(1, 'days')], "Next 7 days": [moment().add(1, 'days'), moment().add(7, 'days')], "Next 30 days": [moment().add(1, 'days'), moment().add(30, 'days')], "This month": [moment(), moment().endOf('month')] }, locale:{ applyLabel: "Apply", cancelLabel: "Cancel", fromLabel: "From", toLabel: "To", customRangeLabel: "Custom range picker" }, autoUpdateInput: false }); var startPreserve = ''; var endPreserve = ''; if (startPreserve != '' && endPreserve != '') { var start = moment(startPreserve); var end = moment(endPreserve); jQuery('#dir-container-688 #dateRange').val(start.format('DD-MM-YYYY') + ':' + end.format('DD-MM-YYYY')); jQuery('#dir-container-688 #startEndDate').val(start.format('DD MMM, YYYY') + ' - ' + end.format('DD MMM, YYYY')); } jQuery('#dir-container-688 input[name="startEndDate"]').on('cancel.daterangepicker', function(ev, picker) { jQuery(this).val(''); jQuery('#dir-container-688 #dateRange').val(''); }); jQuery('#dir-container-688 input[name="startEndDate"]').on('apply.daterangepicker', function(ev, picker) { jQuery(this).val(picker.startDate.format('DD MMM, YYYY') + ' - ' + picker.endDate.format('DD MMM, YYYY')); jQuery('#dir-container-688 #dateRange').val(picker.startDate.format('DD-MM-YYYY') + ':' + picker.endDate.format('DD-MM-YYYY')); }); }); }); function initializeSearchAutocomplete688(preventSubmit) { jbdUtils.initializeSearchAutocomplete(688, preventSubmit, []); }
No records found.

    Advertisement

    CES2018

    Advertisement

    mescon ad