jQuery(document).click(function(e) { if ( jQuery(e.target).closest('.input_search').length === 0 ) jQuery(".category_select").hide(); }); jQuery(document).ready(function(){ jQuery('.spoiler_control').click(function(){ jQuery(this).parent().children('div.spoiler_content').toggle('normal'); return false; }); }); jQuery(document).click(function(e) { jQuery(".category_select label.radio").on("click", function() { jQuery(".category_select label.radio.active").removeClass("active"); jQuery(this).addClass("active"); jQuery(".input_search").prop("placeholder", jQuery(this).data("cat") ).val(""); }); }); jQuery(function() { jQuery(".input_search").on("click", function() { jQuery(".category_select").show(); }); // Автозаполнитель поиска jQuery(".input_search").autocomplete({ serviceUrl:'/ajax/search_products.php', minChars:1, noCache: false, onSelect: function(suggestion){ // jQuery(".input_search").closest('form').submit(); jQuery(".input_search_hd").val(suggestion.data.id); }, formatResult: function(suggestion, currentValue){ var reEscape = new RegExp('(\\' + ['/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\'].join('|\\') + ')', 'g'); var pattern = '(' + currentValue.replace(reEscape, '\\jQuery1') + ')'; return (suggestion.data.image?" ":'') + suggestion.value.replace(new RegExp(pattern, 'gi'), 'jQuery1'); } }); });
Страна Австрия Азербайджан Бахрейн Босния и Герц. Великобритания Греция Индонезия Иордания Испания Италия Катар Кипр Кувейт Ливан Малайзия Мальдивские о-ва Мальта Марокко ОАЭ Оман Португалия Саудовская Аравия Сингапур Словения Таиланд Танзания Турция Фиджи Филиппины Франция Швейцария
Возраст детей в день выезда
Прокрутить вверх