Posted on: 1/15/2014 10:48:16 AM | Views : 652

Hi,
I have TD in table.And It Contains image control
Now i need code to run as below
if( myTD.innerHtml!=" " or myTD!=null)
{
then show tick image
}
But above code doesnt work as this td contains image control.
If i remove image above code works properly.
But i want to keep image in TD and want to check for its emptyness.
Means i want to know if TDi filled with alphabets and  image or it conataisnsblank value without image.
Regards,
Jayesh.

My Code is as given below:

===================
function myshowhidefunc() {
var firstimageobject = document.getElementById('<%=myimage1.ClientID%>'); var secondimageobject = document.getElementById('<%=myimage2.ClientID%>');
var myTD1 = document.getElementById('<%=Td1.ClientID%>'); var myTD2 = document.getElementById('<%=Td2.ClientID%>'); Go to the complete details ...