Click here to Skip to main content
15,908,775 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to write jquery where i am able to find image tag having class= test

Please Suggest

Thank You
Posted

You should really read up on jQuery selectors[^] especially the Class Selector[^]. A great place to start using jQuery is to go here and follow the links under the section: "Getting Started With jQuery".

Regards,

Manfred
 
Share this answer
 
var total = $("img.test").length;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900