<div style=" float: right; margin-right: 8% !important;" >
<div class="boxsearch">
<div class="container-search">
<form class="search-form" action="http://your_website/" method="get">
<script>
function check() {
var search = $('#search').val();
if(search.length >=2) {
$('#submit').removeAttr('disabled');
} else {
$('#submit').attr('disabled', 'disabled');
}
}
</script>
<input type="search" id="search" onkeyup="check();" name="s" class="search-field" placeholder="Поиск..." autocomplete="off" />
<button type="submit" onkeyup="check();" class="icon" id="submit" disabled="disabled">
<i class="fa fa-search"></i>
</button>
</form>
</div>
</div>
</div>
<div style="clear: right"></div>
<div class="boxsearch">
<div class="container-search">
<form class="search-form" action="http://your_website/" method="get">
<script>
function check() {
var search = $('#search').val();
if(search.length >=2) {
$('#submit').removeAttr('disabled');
} else {
$('#submit').attr('disabled', 'disabled');
}
}
</script>
<input type="search" id="search" onkeyup="check();" name="s" class="search-field" placeholder="Поиск..." autocomplete="off" />
<button type="submit" onkeyup="check();" class="icon" id="submit" disabled="disabled">
<i class="fa fa-search"></i>
</button>
</form>
</div>
</div>
</div>
<div style="clear: right"></div>