add onkeypress event

added onkeypress event in BASE_ELEMENT & element_input.erl