probably better to check keyCode first, since users will rarely hit enter accidentally :-)