bootstrap上传文件美化
生活随笔
收集整理的這篇文章主要介紹了
bootstrap上传文件美化
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
<div class="form-group"><div class="col-sm-4 control-label">選擇文件</div><div class="col-sm-6"><div class="input-group"><input id='location' class="form-control" onclick="$('#i-file').click();"><label class="input-group-btn"><input type="button" id="i-check" value="瀏覽文件" class="btn btn-primary" onclick="$('#i-file').click();"></label></div></div><input type="file" name="file" id='i-file' accept=".xls, .xlsx" onchange="$('#location').val($('#i-file').val());" style="display: none">
</div>
總結
以上是生活随笔為你收集整理的bootstrap上传文件美化的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: The listener support
- 下一篇: Navicat导出表结构导出成Excel