Fileupload正在使用此代码我从这个链接http://www.jasny.net/bootstrap/javascript/#fileinput复制,对我来说,选择文件意味着什么问题意味着没有在该框中显示文件名,我没有添加任何额外的行代码
<div class="fileinput fileinput-new input-group" data-provides="fileinput">
<div class="form-control" data-trigger="fileinput"><i class="glyphicon glyphicon-file fileinput-exists"></i> <span class="fileinput-filename"></span></div>
<span class="input-group-addon btn btn-default btn-file"><span class="fileinput-new">Select file</span><span class="fileinput-exists">Change</span><input type="file" name="..."></span>
<a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
</div>