Latest web development tutorials
 

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