ciao a tutti...il seguente codice funziona con explorer ma non va con netscape...eppure se non sbaglio netscape 6+ supporta il getelementById...

ID1 = ID.split(":")
var q = ID1.length
for (var x=1; x <= q ;x++)
{
var input_1 = document.getElementById(ID1[x-1]).value
var nomecampo=document.getElementById(ID1[x-1]).name
if ((input_1 == "") || (input_1== "undefined"))
{
if (nomecampo == "corpo")
{ alert("Il campo Testo è obbligatorio")}
else{
alert("Il campo "+nomecampo+" è obbligatorio.");}
document.getElementById(ID1[x-1]).focus();
return false;
}


non mi da neanche errore....nè l'alert del campo obbligatorio nè il submit del form...
mi sapreste aiutare??
ciaoo