![](/img/trans.png)
[英]how to get the content of the file uploaded with input type file using JQuery
[英]How to change “Choose File” on file type input using BootForm
請幫助我在文件類型輸入按鈕上更改文本“選擇文件”嗎??? 如果可能,如何更改其形狀? 我正在使用BootForm在laravel刀片上編碼。
{!! BootForm::file('Upload File', 'upload_file')->helpBlock('Please upload a file to verify your submit.') !!}
不要考慮更改選擇文件
只需隱藏選擇文件並更改該文件輸入的標簽,此代碼即可為您提供幫助
{! 格式:: label('upload_file','UPLOAD',['class'=>'btn btn-md btn-primary'])!!} {!! 形式:: file('upload_file',['style'=>'visibility:hidden'])!!}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.