image

英[ˈɪmɪdʒ] 美[ˈɪmɪdʒ]

n.Image; portrait; concept, intention; mirror, reflection

vt .Reflect;imagine;make an image of;symbol

jquery image selector syntax

Function::The image selector selects <input> elements of type image.

Syntax: $(":image")

jquery image selector example

<html>
<head>
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript"> 
 
$(document).ready(function(){
    $(":image").css("background-color","#B2E0FF");
});
 
</script>	
</head>
<body>
<html>
<body>
<form action="">
Name: <input type="text" name="user" />
<br />
Password: <input type="password" name="password" />
<br />
<input type="image" src="http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg" />
</form>
</body>
</html>
</body>
</html>
Run instance »

Click the "Run instance" button to view the online instance