Tem como um getElementById retornar um array???
algo do tipo assim:
<HTML>
<SCRIPT LANGUAGE= "JAVASCRIPT">
function teste ()
{
var campo[] = document.getElementById('t');
alert(campo[0].value);
alert(campo[1].value);
//...
}
</SCRIPT>
<BODY>
<input type= "text" id = 't' value ='1'>
<input type= "text" id = 't' value ='2'>
<input type= "text" id = 't' value ='3'>
<a href = "#" Onclick = "teste();">teste</a>
</BODY>
</HTML>
tava tentando fazer isso… mais nao estou conseguindo…
Grato pela atenção.
