Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery :file Selector

jQuery :file Selector

jQuery selector jQuery selector

Example

Select elements with type="file" element:

$(":file")

Try it »


Definition and Usage

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


Syntax

$(":file")


jQuery selector jQuery selector