jQuery :file Selector

Example

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

$(':file')

Try It Yourself

Definition and Usage

:image selector selects <input> elements of type file.

Syntax

$(':file')