grazie mille ho trovato l'innerhtml per l'append e poi l'errore : a firefox non piace il submit, l'ho sostituito con l'onclick; posto il codice corretto se può essere d'aiuto a qualcun altro
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body>
<script language="javascript">
function ControlloSubmit(el1,el2){
if(el1.checked) {
document.getElementById(el2).disabled = false;
} else {
document.getElementById(el2).disabled = 'disabled';
}
};
function mail(){
body = document.getElementsByTagName("h1").item(0);
body.innerHTML = "prova";
}
</script>
<form name="Nome" method="post">
<input name="NomeCheck" value="1" onclick="ControlloSubmit(this,'btn1')" type="checkbox">Accetta Le Condizioni
<input name="Submit" id="btn1" value="Invia" type="button" onclick="mail()" disabled="disabled">
<h1></h1>
</form>
</body>
</html>

Rispondi quotando