THE INDIA LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

jQuery :file Selector

jQuery Selectors 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 jQuery Selectors