body.onkeypress is done in javascript via window.onkeypress.