Click here to Skip to main content
15,908,776 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hey ..I have a image control..I need to check whether the image control has image or not ...Plz give me jquery or javascript for that ...
Posted
Comments
Can you give me the rendered html?
I can then try to do the task asked by you.

1 solution

C#
$("#dgImages").find('img').each(function(){
   if($(this).is(':visible')){
     alert("This image is visible");
    }
});
 
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