codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Pagina senza titolo</title>
<script language="javascript" type="text/javascript">
// <!CDATA[

function window_onload() {
    document.getElementById("Text1").focus();
}

// ]]>
</script>
</head>
<body onload="return window_onload()">
<form action="?">
    <input id="Text1" type="text" />
</form>
</body>
</html>
con Opera 9
come è possibile bloccare l'invio premendo il tasto Enter quando il focus è nel textbox? :master: