ciao, ecco la pagina , ho troncato alcune cose asp inutili per il nostro problema giusto per non rendere troppo lunga la cosa.
La parte interessante è in fondo ( il famoso id targa..)
Grazie per l'aiuto.
scusa ma non riesco ad applicare il tag code
--------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link href="step.css" rel="stylesheet" type="text/css">

<script type="text/javascript">
function controlloSelect(option){
if (option.options[option.selectedIndex].value == 2){noattivo = "hidden"; attivo = "visible";
document.getElementById('targa').style.visibility= attivo;
document.getElementById("automezzi").disabled=true
document.getElementById("automezzir").disabled=tru e
document.getElementById('invia').disabled=false;}
else{
if (option.options[option.selectedIndex].value == 0){
document.getElementById('targa').style.visibility= "hidden";
document.getElementById('invia').disabled=true;}
else{
document.getElementById('targa').style.visibility= "hidden";
document.getElementById('invia').disabled=false;}
}
}

function check()
{
/*if (document.form.automezzi.value == 0){
alert("ATTENZIONE: INSERIRE UNA TARGA AUTOMEZZI");
return false;
}*/
if (document.getElementById('targa').style.visibility ="visible" && document.getElementById('targa') && document.getElementById('targamotricem').value == "" && document.getElementById('targarimorchiom').value == ""){
alert("Inserire almeno una targa.");
return false;
}
}

//-->
</script>
<style type="text/css">
#targa{visibility:hidden}

</style>

</head>
<body>

<div class="inserimento">
<table width="663" border="0">
<tr>
<td width="292"><select name="automezzi" size="1" id="automezzi" onChange="return controlloSelect(this)">
<option value="0" selected>Scegliere una targa automezzo</option>
<option value="2">inserire targa manuale</option>
<option value="<%=rs3("targamotrice")%>"><%=rs3("targamotr ice")%></option>
<%

do while not rs3.eof


%>

<%
rs3.movenext
loop
%>
</select></td>
</table>
<table width="663" border="0">
<tr>
<td width="127">


</td></tr></table>
</div>
<%
end if
rs3.close
rs4.close
set rs1=nothing
cn3.close
set cn3=nothing
%>
<div class="inserimento">
<table width="663" border="0">
<tr>
<td

</td>
</tr>
</table>

<DIV ID="targa" STYLE="position:absolute; height:100px; width:500px; left: 500px; top: 670px">

<table width="279" border="0" cellpadding="0" cellspacing="0" class="selezione">
<tr>
<td width="137">TARGA MOTRICE </td>
<td width="258"><input name="targamotricem" type="text" id="targamotricem" size="8" maxlength="8"></td>
<td width="137">TARGA RIMORCHIO </td>
<td width="258"><input name="targarimorchiom" type="text" id="targarimorchiom" size="8" maxlength="8"></td>

</tr>
</table>
</div>
<div align="center">
<input name="invia" type="submit" id="invia" disabled="true" value="Continua" onClick="check()">







</div>
</form>
</div>
</body>
</html>