Torna al Thread
<script language="javascript" type="text/javascript">
function confronto ()
{
var t1 = document.getElementById("TextBox3").value;
var t2 = document.getElementById("TextBox2").value;
var errore = "OK";
if (t1!="" && t2!="")
errore = "Non è possibile che il documento sia stato emesso all'estero e nello stesso tempo anche in italia!";
if (t1=="" && t2=="")
errore = "Non è possibile che questo documento non sia mai stato emesso da nessuna parte!";
document.write (errore);
}
</script>