codice:
<script language="javascript" src="jsrsClient.js"></script>
<script language="javascript" src="select.js"></script>
<script language="javascript">
<!--
function submitIt(Qform)
{
if (Qform.lstMake.options[Qform.lstMake.selectedIndex].value == '-- Selezionare valore --') {
alert("Il campo è obbligatorio.");
Qform.lstMake.focus();
return(false);
}
return(true);
}
//-->
</script>
</head>
<body onload="body_onLoad();" onhelp="jsrsDebugInfo();return false;">
<form name="QForm" method="POST" enctype="multipart/form-data" action="up_new/esempi/upload_semplice.asp" onsubmit="return(submitIt(this));"-->
<div id="sel">
<table class="normal" width="575" BORDER="0" CELLSPACING="2" CELLPADDING="2" VALIGN="TOP">
<%
SelectBox "UOAT", "lstMake"
SelectBox "Cab. Primaria","lstModel"
SelectBox "Categoria", "lstOptions"
SelectBox "Sigillato", "lstSigil"
%><font face="Verdana" size="1">
</table>
<%
Sub SelectBox( Label, selectName )
%>
<%
End Sub
%>
<input type="file" name="file" value="Submit" id="cmdSubmit" size="21" />
<input type="submit" id="cmdSubmit" value="Invia" />