niente?

ho trovato un'altra alternativa, ma è più lenta:

Codice PHP:
<html>
<
head>
<
style>
</
style>
<
script>
  function 
hiddenCol(col){
    var 
lista_td document.getElementsByTagName("td");
    for(
i=0lista_td.lengthi++){
      if(
lista_td.item(i).getAttribute("name") == col){
        
lista_td.item(i).style.display "none";
      }
    }
  }
</script>
</head>
<body>
<table border="1">
 <tr>
  <td id="nome[uno]"><a href="#stop" onClick="hiddenCol('cognome')">Nome</td>
  <td name="cognome" id="i1">Cognome</td>
  <td name="eta">Eta</td>
 </tr>
 <tr>
  <td id="nome[due]">Pippo</td>
  <td name="cognome" id="i2">Caio</td>
  <td name="eta">12</td>
 </tr>
 <tr>
  <td id="nome[tre]">Max</td>
  <td name="cognome" id="i3">Biaggione</td>
  <td name="eta">34</td>
 </tr>
 <tr>
  <td id="nome[quattro]">Pippo</td>
  <td name="cognome" id="i4">Anastasio</td>
  <td name="eta">57</td>
 </tr>
</table>
</body>
</html> 
ma esiste un modo per limitarne la ricerca ai soli tag che hanno come nome "cognome"? Perchè in questo modo mi scorre tutti i TD e non è bello..

Help me... saluti MAX