<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<div class="container">
<div class="row m-t-50">
<h1 class="text-center">Bootstrap Search button next to input</h1>
<div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-6 col-lg-offset-3">
<form role="Form" action="" method="POST" charset="UTF-8">
<div class="form-group">
<div class="input-group">
<input class="form-control" type="text" name="search" placeholder="Search..." required/>
<span class="input-group-btn">
<button class="btn btn-success" type="submit"><span class="glyphicon glyphicon-search" aria-hidden="true"></span>Search</button>
</span>
</div>
</div>
</form>
</div>
</div>
<div class="row m-t-30">
<h1 class="text-center">Search with icon inside input left</h1>
<div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-6 col-lg-offset-3">
<form role="Form" action="" method="POST" charset="UTF-8">
<div class="input-search">
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
<input type="text" name="search" placeholder="Search..." class="form-control input-box">
</div>
</form>
</div>
</div>
<div class="row m-t-30">
<h1 class="text-center">Search with icon inside input right</h1>
<div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-6 col-lg-offset-3">