Tutorials References Exercises Menu
Paid Courses

jQuery :file Selector

❮ jQuery Selectors

Example

Select <input> elements with type="file":

$(":file")
Try it Yourself »

Definition and Usage

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


Syntax

$(":file")

❮ jQuery Selectors