title: Put search icon near textbox using bootstrap
body: <p>I am using bootstrap by default textbox taking full width of column and I want to  put search icon at the end to textbox.</p>
  
  <p>My code is like this:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="container"&gt;
      &lt;div class="row"&gt;
          &lt;div class="form-group col-lg-4"&gt;
              &lt;label class="control-label"&gt;Name&lt;/label&gt;
              &lt;input id="txtName" class="form-control input-sm" /&gt;
              &lt;span class="glyphicon glyphicon-search"&gt;&lt;/span&gt; 
          &lt;/div&gt;
          &lt;div class="col-lg-4"&gt;&lt;/div&gt;
          &lt;div class="col-lg-4"&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I don't want to use input group.</p>
  
  <p>Please suggest an alternate way or alternate html with css.</p>