Update form with key enter

Hi,

how can i update a form with press enter key???

I dont whant use a update buttone but a enter on keybord i can???

Bye

i try this code and work fine ther is any other metod?

function submitenter(e) {
var keycode;
if (window.event) keycode = window.event.keyCode; // IE
else keycode = e.which; // FF

if (keycode == 13) {
nm_atualiza (‘alterar’);
return false;
} else return true;
}

document.F1.nume.onkeypress=submitenter;