jQuery :fileSelector

jQuery 选择器jQuery Selector

Example

Select the <input> element with type="file":

$(":file")

Try it Yourself »

Definition and Usage

The :file selector selects input elements with type=file.


Syntax

$(":file")


jQuery 选择器jQuery Selector

Other Extensions