search after pressing enter instead of onkeypress

not yet tested