function getEtd(){ var count='0'; var TDs=document.getElementsByTagName('td') var length=TDs.length; i='0'; while(i<length){ if(TDs[i].innerHTML=='<img src=" />'){ // alert(TDs[i].innerHTML); count++; } i++; } alert('there are '+count+' Image td\'s'); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)