Current Path : /home/bitrix/ext_www/xn--80atde5a3i.com/include/header/ |
Current File : /home/bitrix/ext_www/xn--80atde5a3i.com/include/header/search.php |
<div class="top-search"> <div id="search"> <form> <div class="input-group"> <input id="search_q" type="text" class="form-control" placeholder="Пошук..." name="search"> <button id="search_button" class="btn-search" type="button"><i class="fa fa-search"></i> </button> </div> </form> </div> </div> <script> $(function () { $("#search_button").click(function () { var quote = $("#search_q").val(); window.location.href = "/search/?q="+quote; }); }) </script>