jQuery Tutorial Tutorials - jQuery :image selector

:image selector

The jQuery :image selector is used to select all elements of type image. selector $(':image') is equivalent to $('[type="image"]').

jQuery :image selector Syntax

$(':image')

jQuery :image selector Examples

In below example,We will hightlight all image inputs.

Try now

Date:2019-08-19 02:02:05 From:www.Lautturi.com author:Lautturi