How to Hide choose file button inside the text box, As I am using another button to browse.
If I give type="File"
, the button "choose file"
automatically come inside my text box.
Code below:
<div class="col-lg-6">
<label>Select File</label>
<input type="file" id="SelectFile" @*style="display: none;"*@ class="form-control input-sm input-small input-inline" />
</div>
<div class="btn-group">
<button id="btnBrowse" name="btnBrowse" onclick="document.getElementById('SelectFile').click();" class="btn btn-block btn-primary btn-flat"><span class="hide-on-mobile">Browse </span><i class="fa fa-search"></i></button>
</div>
I tried giving *style="display: none;"*
, this makes my textbox invisible.