Open In App

jQuery :image Selector

Last Updated : 11 Jul, 2025
Comments
Improve
Suggest changes
4 Likes
Like
Report

The jQuery :image selector is used to select the input elements with a type equal to the image. 

Syntax: 

$(":image")

Parameter: :enabled selector: It is used for selecting HTML input elements for changing its properties, e.g. background-color, etc. 

Example 1: 

Output: It changes the height of the image:

  

Example 2: 

Output:

 


Similar Reads