<body>
<form name="myform" action="" onkeydown="if(event.keyCode==13){return false;}">
<input type=“text” name=“user”>
<input type=“text” name=“pass”>
<input type=“button” name=“mybutton” value=“submit” onclick=“myform.submit()”>
</form></body>
</html>