Tutorials References Exercises Videos Menu
Create Website Get Certified Upgrade

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