jquery image selector
Translation results:
image
英[ˈɪmɪdʒ] 美[ˈɪmɪdʒ]
n.Image; portrait; concept, intention; mirror, reflection
vt .Reflect;imagine;make an image of;symbol
jquery image selectorsyntax
Function::The image selector selects <input> elements of type image.
Syntax: $(":image")
jquery image selectorexample
<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>
Click the "Run instance" button to view the online instance
Popular Recommendations
- How to fix Nextjs image not loading on production
- Creating Docker Image of Spring Boot Application using Buildpacks
- Optimizing Image Upload with Cropping and Compression in Next.js Projects
- Extract Files from System Image Backup Windows 11/10 – A Guide!
- A Guide to Unsupervised Image Segmentation using Normalized Cuts (NCut) in Python
- Ensuring Image Upload Security: How to Verify Uploaded Files Are Genuine Images