jQuery :file 选择器

定义和用法

:file 选择器选取类型为 file<input> 元素。

实例

选择 type="file"<input> 元素:

$(":file")

亲自试一试

语法

$(":file")