[英] jQuery - Detecting if a file has been selected in the file input
Possible Duplicate:
jQuery: get the file name selected from <input type=“file” />
我有一个标准的文件输入框
<input type="file" name="imafile">
我在页面下面也有一些文字,如下所示
<span class="filename">Nothing selected</span>
我想知道是否可以用在文件输入框中选择的文件名来更新文本?
干杯,